Learn R Programming

bayesSurv (version 2.6)

bayesBisurvreg.help: Helping function for Bayesian regression with smoothed bivariate densities as the error term, based on possibly censored data

Description

These functions are not to be called by ordinary users.

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

Usage

bayesBisurvreg.checkStore(store)

bayesBisurvreg.priorInit(dim, prior, init, design, mcmc.par, prior2, init2, design2, mcmc.par2, doubly)

bayesBisurvreg.priorBeta(prior.beta, init, design)

bayesBisurvreg.writeHeaders(dir, dim, nP, doubly, prior.init, store, design, design2)

Arguments

store
a~list as required by the argument store of the function bayesBisurvreg
dim
dimension of the response, 1 or 2
prior
a~list as required by the argument prior of the function bayesBisurvreg
prior2
a~list as required by the argument prior2 of the function bayesBisurvreg
init
a~list as required by the argument init of the function bayesBisurvreg
init2
a~list as required by the argument init2 of the function bayesBisurvreg
mcmc.par
a~list as required by the argument mcmc.par of the function bayesBisurvreg
mcmc.par2
a~list as required by the argument mcmc.par2 of the function bayesBisurvreg
design
an~object as returned by the function bayessurvreg.design related to either the onset time if doubly censored observations or to the event time. Remark: design$Y contain
design2
an~object as returned by the function bayessurvreg.design related to time-to-event if doubly censored observations. Remark: design2$Y contains original times and NOT the
doubly
logical indicating whether the response is doubly censored or not
prior.beta
a~list as required by the argument prior.beta or prior.beta2 of the function bayesBisurvreg
dir
path to the directory where the sampled values are to be stored
nP
sample size - number of observations if the univariate model is fitted, number of bivariate observational vectors if the bivariate model is fitted
prior.init
a~list as returned by the function bayesBisurvreg.priorInit
store
a~list as returned by the function bayesBisurvreg.checkStore

Value

  • Some lists.