etapriorGauss: etapriorGauss function

View source: R/mcmcPriors.R

etapriorGaussR Documentation

etapriorGauss function

Description

A function to define Gaussian priors for eta. This function simply stores a vector of means and standard deviations to be passed to the main MCMC function, survspat.

Usage

etapriorGauss(mean, sd)

Arguments

mean

the prior mean, a vector of length 1 or more. 1 implies a common mean.

sd

the prior standard deviation, a vector of length 1 or more. 1 implies a common standard deviation.

Value

an object of class "etapriorGauss"

See Also

survspat, betapriorGauss, omegapriorGauss, etapriorGauss, indepGaussianprior, derivindepGaussianprior


spatsurv documentation built on Oct. 19, 2023, 9:07 a.m.