summary.spT: Summary statistics of the parameters.

Description Usage Arguments Value See Also Examples

View source: R/useful_commands.R

Description

This function is used to obtain MCMC summary statistics.

Usage

1
2
3
4
## 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 σ_ε^2.

sig2eta

Summary statistics for σ_η^2.

phi

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

...

Summary statistics for other parameters used in the models.

See Also

spT.Gibbs.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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)

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