coef.stPredict: Compute point estimates for parameters from posterior samples

Description Usage Arguments Examples

View source: R/coef.stPredict.R

Description

Compute point estimates for parameters from posterior samples

Usage

1
2
## S3 method for class 'stPredict'
coef(object, stFit, stData, burn = 1, type = "eof-alpha_knots", ...)

Arguments

object

stPredict object containing posterior estimates of alphas

stFit

stFit object containing posterior samples for model

stData

stData object containing spatial information for dataset

burn

number of posterior samples to reject before computing estimates

type

One of the following options to specify what point estimates to return

eof-alpha_knots

Remote coefficient estimates (alpha_knots) mapped onto the eof patterns of the remote covariates.

...

S3 generic/method consistency

Examples

1
2
3
4
5
6
data("coprecip")
data("coprecip.fit")
data("coprecip.predict")

coef(coprecip.predict, stFit = coprecip.fit, stData = coprecip, burn = 50)
 

jmhewitt/telefit documentation built on Feb. 9, 2020, 7:15 p.m.