plot.spTD: Plots for spTDyn output.

View source: R/useful_commands.R

plot.spTDR Documentation

Plots for spTDyn output.

Description

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

Usage

## S3 method for class 'spTD'
plot(x, residuals=FALSE, coefficient=NULL, ...)

## 

Arguments

x

Object of class inheriting from "spTD".

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

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

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

spTDyn documentation built on Nov. 22, 2022, 5:07 p.m.