View source: R/useful_commands.R
plot.spTD | R Documentation |
This function is used to obtain MCMC summary, residual and fitted surface plots.
## S3 method for class 'spTD'
plot(x, residuals=FALSE, coefficient=NULL, ...)
##
x |
Object of class inheriting from "spTD". |
residuals |
If TRUE then plot residual vs. fitted and normal qqplot of the residuals. If FALSE then plot MCMC samples of the parameters using coda package. Defaults value is FALSE. |
coefficient |
Takes values: "spatial", "temporal" and "rho" for summary statistics of spatial, temporal and rho coefficients respectively. If NULL then provides parameter plots without spatial and temporal coefficients. |
... |
Other arguments. |
GibbsDyn
.
## Not run:
##
plot(out) # where out is the output from spT class
plot(out, residuals=TRUE) # where out is the output from spT class
plot(out, coefficient="spatial") # for spatially varying coefficients
##
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.