summary.spTD: Summary statistics of the parameters.

View source: R/useful_commands.R

summary.spTDR Documentation

Summary statistics of the parameters.

Description

This function is used to obtain MCMC summary statistics.

Usage

## S3 method for class 'spTD'
summary(object, digits=4, package="spTDyn", coefficient=NULL, ...)

## 

Arguments

object

Object of class inheriting from "spTD".

digits

Rounds the specified number of decimal places (default 4).

package

If "coda" then summary statistics are given using coda package. Defaults value is "spTDyn".

coefficient

Takes values: "spatial", "temporal" and "rho" for summary statistics of spatial, temporal and rho coefficients respectively. If NULL then provides parameter summary without spatial and temporal coefficients.

...

Other arguments.

Value

sig2eps

Summary statistics for σ_ε^2.

sig2eta

Summary statistics for σ_η^2.

phi

Summary statistics for spatial decay parameter φ, if estimated using decay.

...

Summary statistics for other parameters used in the models.

See Also

GibbsDyn.

Examples

## Not run: 
##

summary(out) # where out is the output from spT class
summary(out, digit=2) # where out is the output from spT class
summary(out, pack="coda") # where out is the output from spT class
summary(out, coefficient="spatial") # for spatially varying coefficients
summary(out, coefficient="temporal") # for temporally varying coefficients

##

## End(Not run)

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