bayessurvreg2.help {bayesSurv} | R Documentation |
Helping functions for Bayesian regression with an error distribution smoothed using G-splines
Description
These functions are not to be called by ordinary users.
These are just sub-parts of ‘bayessurvreg2’ function to make it more readable for the programmer.
Usage
bayessurvreg2.checkStore(store)
bayessurvreg2.priorInit(prior, init, design, mcmc.par,
prior2, init2, design2, mcmc.par2, doubly)
bayessurvreg2.priorBeta(prior.beta, init, design)
bayessurvreg2.priorb(prior.b, init, design)
bayessurvreg2.writeHeaders(dir, doubly, prior.init, store, design, design2)
Arguments
store |
a~list as required by the argument |
prior |
a~list as required by the argument |
prior2 |
a~list as required by the argument |
init |
a~list as required by the argument |
init2 |
a~list as required by the argument |
mcmc.par |
a~list as required by the argument |
mcmc.par2 |
a~list as required by the argument |
design |
an~object as returned by the function
|
design2 |
an~object as returned by the function
|
doubly |
logical indicating whether the response is doubly censored or not |
prior.beta |
a~list as required by the argument |
prior.b |
a~list as required by the argument |
dir |
path to the directory where the sampled values are to be stored |
prior.init |
a~list as returned by the function
|
Value
Some lists.
Value for bayessurvreg2.priorBeta
A list with the following components:
- parmI
integer arguments for C++
BetaGamma
constructor- parmD
double arguments for C++
BetaGamma
constructor
and the following attributes:
init |
prior.beta |
Value for bayessurvreg2.priorInit
The same object as that returned by bayesBisurvreg.priorInit
.
Value for bayessurvreg2.priorb
A list with the following components:
- bparmI
integer arguments for C++
RandomEff
constructor- bparmD
double arguments for C++
RandomEff
constructor- DparmI
integer arguments for C++
CovMatrix
constructor- DparmD
double arguments for C++
CovMatrix
constructor
and the following attributes:
init.b |
init.D |
prior.b |
Author(s)
Arnošt Komárek arnost.komarek@mff.cuni.cz