powered by
A function to create the prior for beta and eta ready for a run of the MCMC algorithm.
lgcpPrior(etaprior = NULL, betaprior = NULL)
an object of class PriorSpec defining the prior for the parameters of the latent field, eta. See ?PriorSpec.list.
etaprior an object of class PriorSpec defining the prior for the parameters of main effects, beta. See ?PriorSpec.list.
an R structure representing the prior density ready for a run of the MCMC algorithm.
GaussianPrior, LogGaussianPrior, PriorSpec.list, chooseCellwidth, getpolyol, guessinterp, getZmat, addTemporalCovariates, lgcpPrior, lgcpInits, CovFunction lgcpPredictSpatialPlusPars, lgcpPredictAggregateSpatialPlusPars, lgcpPredictSpatioTemporalPlusPars, lgcpPredictMultitypeSpatialPlusPars
# NOT RUN { 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)))) # }
Run the code above in your browser using DataLab