plot_s {spmoran} | R Documentation |
Mapping spatially (and non-spatially) varying coefficients (SVCs or SNVC)
Description
This function plots spatially and non-spatially varying coefficients (SNVC) or spatially varying coefficients (SVC). Note that SNVC = SVC + NVC (NVC is a coefficient varying with respect to explanatory variable value)
Usage
plot_s( mod, xnum = 0, btype = "snvc", xtype = "x", pmax = NULL, ncol = 8,
col = NULL, inv =FALSE, brks = "regular", cex = 1, pch = 20, nmax = 20000)
Arguments
mod |
|
xnum |
For |
btype |
Effective for |
xtype |
If "x" (default), coefficients on x is plotted. If "xconst", those on xconst is plotted |
pmax |
The maximum p-value for the S(N)VC to be displayed. For example, if pmax = 0.05, only coefficients that are statistically significant at the 5 percent level are plotted. If NULL, all the coefficients are plotted. Default is NULL |
ncol |
Number of colors in the color palette. Default is 8 |
col |
Color palette used for the mapping. If NULL, the blue-pink-yellow color scheme is used. Palettes in the RColorBrewer package are available. Default is NULL |
inv |
If TRUE, the color palett is inverted. Default is FALSE |
brks |
If "regular", color is changed at regular intervals. If "quantile", color is changed for each quantile |
cex |
Size of the dots representing sample sites |
pch |
A number indicating the symbol to use |
nmax |
If sample size exceeds nmax, nmax samples are randomly selected and plotted. Default is 20,000 |