plot.spT: Plots for spTimer output.

View source: R/useful_commands.R

plot.spTR Documentation

Plots for spTimer output.

Description

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

Usage

## 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

## 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)

spTimer documentation built on Sept. 11, 2024, 6:25 p.m.