plot.spT: Plots for spTimer output.

Description Usage Arguments See Also Examples

View source: R/useful_commands.R

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 for package "spTDyn" (see details: https://cran.r-project.org/web/packages/spTDyn/index.html).

...

Other arguments.

See Also

spT.Gibbs.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
##

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

##

## End(Not run)

jmarca/spTimer documentation built on May 19, 2019, 1:51 p.m.