plot_s | R Documentation |
This function plots spatially varying coefficients (SVC) and spatio-temporally varying coefficients (STVC) with/without coefficient varying with respect to the value of the explanatory variable (NVC). Namely, the full varying coefficient equals STVC + NVC.
plot_s( mod, xnum = 0, btype = "all", xtype = "x", pmax = NULL, ncol = 8,
col = NULL, inv =FALSE, brks = "regular", cex = 1, pch = 20,
nmax = 20000, coords_z1_lim=NULL, coords_z2_lim = NULL)
mod |
Outpot from |
xnum |
For |
btype |
Effective if x_nvc =TRUE in |
xtype |
If "x" (default), coefficients on x is plotted. If "xconst", those on xconst is plotted |
pmax |
The maximum p-value for the varying coefficients to be displayed. For example, if pmax = 0.05, the 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 |
coords_z1_lim |
Value range for coords_z[,1] in the |
coords_z2_lim |
Value range for coords_z[,2] (vector). |
resf
, besf
, resf_vc
, besf_vc
, addlearn_local
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.