Learn R Programming

SpatioTemporal (version 1.1.2)

coef.estimateSTmodel: Returns estimated parameters (and uncertaintes)

Description

coef method for class estimateSTmodel.

Usage

## S3 method for class 'estimateSTmodel':
coef(object, pars = "all",
    ...)

Arguments

object
estimateSTmodel object from which to extract estimated parameters.
pars
One of "cov", "reg", "all"; which parameters to extract.
...
Ignored additional arguments.

Value

  • Estimated parameters.

See Also

Other estimateSTmodel methods: estimate.STmodel, print.estimateSTmodel

Examples

Run this code
##load data
  data(est.mesa.model)
  ##extract all parameters
  coef(est.mesa.model)
  ##extract only covariance parameters
  coef(est.mesa.model, pars="cov")

Run the code above in your browser using DataLab