spTimer (version 3.3)

plot.spT: Plots for spTimer output.

Description

This function is used to obtain MCMC summary, residual and fitted surface plots.

Usage

# S3 method for spT
plot(x, residuals=FALSE, coefficient=NULL, ...)

##

Arguments

x

Object of class inheriting from "spT".

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

Only applicable for package "spTDyn" (see details: https://cran.r-project.org/web/packages/spTDyn/index.html).

...

Other arguments.

See Also

spT.Gibbs.

Examples

Run this code
# NOT RUN {
##

plot(out) # where out is the output from spT class
plot(out, residuals=TRUE) # where out is the output from spT class

##
# }

Run the code above in your browser using DataLab