summary.spT: Summary statistics of the parameters.

View source: R/useful_commands.R

summary.spTR Documentation

Summary statistics of the parameters.

Description

This function is used to obtain MCMC summary statistics.

Usage

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

## 

Arguments

object

Object of class inheriting from "spT".

digits

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

package

If "coda" then summary statistics are given using coda package. Defaults value is "spTimer". One can also use "spTDyn" for obtaining spatially varying and temporal dynamic models (see details: https://cran.r-project.org/web/packages/spTDyn/index.html)

coefficient

Only applicable for package "spTDyn".

...

Other arguments.

Value

sig2eps

Summary statistics for \sigma_\epsilon^2.

sig2eta

Summary statistics for \sigma_\eta^2.

phi

Summary statistics for spatial decay parameter \phi, if estimated using spT.decay.

...

Summary statistics for other parameters used in the models.

See Also

spT.Gibbs.

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

##

## End(Not run)

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