Plots for spTimer output.

Share:

Description

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

Usage

1
2
3
4
## S3 method for class '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 if spatially and/or temporally varying modelling is used. 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.

See Also

GibbsDyn.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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)