psplineRWprior: psplineRWprior function

Description Usage Arguments Value See Also

Description

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

Usage

1
psplineRWprior(taumean, tausd, basehaz, order = 2)

Arguments

taumean

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

tausd

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

basehaz

an object inheriting class "basehazardspec", specificlly, this function was used for such objects created by a call to the function PsplineHaz

order

the order of the random walk, default is 2

Value

an object of class "omegapriorGauss"

See Also

survspat, betapriorGauss, omegapriorGauss, etapriorGauss, indepGaussianprior, derivindepGaussianprior


bentaylor1/spatsurv documentation built on May 12, 2019, 3:02 p.m.