View source: R/posterior_inference.R
plot_spatial_param | R Documentation |
Plot the spatially-dependent parameter for in-sample locations.
plot_spatial_param(
out,
parameter,
loadings = 1,
type = "mean",
ci.level = c(0.025, 0.975),
yearscale = TRUE,
color.gradient = (grDevices::colorRampPalette(rev(RColorBrewer::brewer.pal(9, name =
"RdBu"))))(50)
)
out |
Output from BSTFA or BSTFAfull. |
parameter |
One of |
loadings |
If |
type |
One of |
ci.level |
If |
yearscale |
If |
color.gradient |
The color palette to use for the plot. Default is |
A plot of spatially-dependent parameter values for the observed locations.
Adam Simpson and Candace Berrett
data(out.sm)
attach(out.sm)
plot_spatial_param(out.sm, parameter='slope')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.