View source: R/posterior_inference.R
plot_annual | R Documentation |
Plot annual/seasonal behavior at a specific location.
plot_annual(
out,
location,
add = FALSE,
years = "one",
interval = 0.95,
yrange = NULL,
new_x = NULL
)
out |
Output from BSTFA or BSTFAfull. |
location |
Either a single integer indicating the location in the data set to plot or a vector of length 2 providing the longitude and latitude of the new location. |
add |
Logical scalar indicating whether the annual/seasonal process should be added to the existing plot. Default is |
years |
Either |
interval |
Numeric value between 0 and 1 specifying the probability of the credible interval. |
yrange |
Numeric vector of length 2 providing the lower and upper bounds of the y-axis. If |
new_x |
If the original model included covariates |
A plot of the annual/seasonal process at location
.
Candace Berrett and Adam Simpson
data(out.sm)
attach(out.sm)
plot_annual(out.sm, location=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.