psplineRWprior | R Documentation |
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.
psplineRWprior(taumean, tausd, basehaz, order = 2)
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 |
an object of class "omegapriorGauss"
survspat, betapriorGauss, omegapriorGauss, etapriorGauss, indepGaussianprior, derivindepGaussianprior
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.