lgcpPrior: lgcpPrior function

Description Usage Arguments Value See Also Examples

Description

A function to create the prior for beta and eta ready for a run of the MCMC algorithm.

Usage

1
lgcpPrior(etaprior = NULL, betaprior = NULL)

Arguments

etaprior

an object of class PriorSpec defining the prior for the parameters of the latent field, eta. See ?PriorSpec.list.

betaprior

etaprior an object of class PriorSpec defining the prior for the parameters of main effects, beta. See ?PriorSpec.list.

Value

an R structure representing the prior density ready for a run of the MCMC algorithm.

See Also

GaussianPrior, LogGaussianPrior, PriorSpec.list, minimum.contrast, minimum.contrast.spatiotemporal, chooseCellwidth, getpolyol, guessinterp, getZmat, addTemporalCovariates, lgcpPrior, lgcpInits, CovFunction lgcpPredictSpatialPlusPars, lgcpPredictAggregateSpatialPlusPars, lgcpPredictSpatioTemporalPlusPars, lgcpPredictMultitypeSpatialPlusPars

Examples

1
2
3
lgcpPrior(etaprior=PriorSpec(LogGaussianPrior(mean=log(c(1,500)),
    variance=diag(0.15,2))),betaprior=PriorSpec(GaussianPrior(mean=rep(0,9),
    variance=diag(10^6,9))))

bentaylor1/lgcp documentation built on May 12, 2019, 2:09 p.m.