Skip to contents

S3 method to plot output for factor detector in geodetector().

Usage

# S3 method for class 'factor_detector'
plot(x, slicenum = 2, alpha = 0.95, keep = TRUE, ...)

Arguments

x

Return by geodetector().

slicenum

(optional) The number of labels facing inward. Default is 2.

alpha

(optional) Confidence level. Default is 0.95.

keep

(optional) Whether to keep Q-value results for insignificant variables, default is TRUE.

...

(optional) Other arguments passed to ggplot2::theme().

Value

A ggplot2 layer.

Author

Wenbo Lv lyu.geosocial@gmail.com