plot.lesh_result {gdverse} | R Documentation |
plot LESH model result
Description
S3 method to plot output for LESH model interaction result in lesh()
.
Usage
## S3 method for class 'lesh_result'
plot(
x,
pie = TRUE,
scatter = FALSE,
scatter_alpha = 1,
pieradius_factor = 15,
pielegend_x = 0.99,
pielegend_y = 0.1,
pielegend_num = 3,
...
)
Arguments
x |
x Return by |
pie |
(optional) Whether to draw the interaction contributions. Default is |
scatter |
(optional) Whether to draw the interaction direction diagram. Default is |
scatter_alpha |
(optional) Picture transparency. Default is |
pieradius_factor |
(optional) The radius expansion factor of interaction contributions pie plot. Default is |
pielegend_x |
(optional) The X-axis relative position of interaction contributions pie plot legend. Default is |
pielegend_y |
(optional) The Y-axis relative position of interaction contributions pie plot legend. Default is |
pielegend_num |
(optional) The number of interaction contributions pie plot legend. Default is |
... |
(optional) Other arguments passed to |
Value
A ggplot2 layer.
Note
When both scatter
and pie
are set to TRUE
in RStudio, enlarge the drawing frame
for normal display.
Author(s)
Wenbo Lv lyu.geosocial@gmail.com