Learn R Programming

spTimer (version 0.8)

plot.spT: Plots for spTimer output.

Description

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

Usage

## S3 method for class 'spT'
## S3 method for class 'spT':
plot(x, residuals=FALSE, ...)

##

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.
...
Other arguments.

See Also

spT.Gibbs.

Examples

Run this code
##

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