Learn R Programming

bayesSurv (version 2.6)

bayessurvreg1.help: Helping function for Bayesian survival regression models, version 1.

Description

These functions are not to be called by ordinary users.

These are just sub-parts of `bayessurvreg1' function to make it more readable for the programmer.

Usage

bayessurvreg1.checkStore(store)

bayessurvreg1.priorInit(prior, init, Yinit, Xinit, n, nX, nrandom, ncluster, indb, randomInt, toler.chol)

bayessurvreg1.priorBeta(prior.beta, nX, indb, factors, n.factors, n.in.factors)

bayessurvreg1.priorb(prior.b, nrandom, ncluster, toler.chol)

bayessurvreg1.writeHeaders(dir, prior, store, nX, X, names.random, ncluster, nrandom, rnamesX, unique.cluster, nBetaBlocks, nbBlocks)

bayessurvreg1.revjump(prop.revjump)

Arguments

store
a~list as required by the store argument of the function bayessurvreg1
prior, init, Yinit, Xinit, n, nX, nrandom, ncluster
???
indb, randomInt, toler.chol
???
prior.beta, factors, n.factors, n.in.factors
???
prior.b, nrandom, ncluster
???
prop.revjump
???
dir, X, names.random
???
rnamesX, unique.cluster, nBetaBlocks, nbBlocks
???

Value

  • Some lists.