TimeToEvent class
TimeToEvent-class.RdTimeToEvent class
Slots
function_stan_codecharacter. Code to include in the Stan functions program block.
param_stan_codecharacter. Code to include in the Stan parameters program block.
likelihood_stan_codecharacter. Code defining the likelihood to include in the Stan model program block.
data_stan_codecharacter. Code to include in the Stan data program block.
n_paraminteger. Number of ancillary parameters for the model to estimate.
param_priorslist. Named list of prior distributions on the ancillary parameters in the model.
time_varcharacter. Variable used for time in
TimeToEventobjects.cens_varcharacter. Variable used for censoring in
TimeToEventobjects.baseline_priorPrior. Object of classPriorspecifying prior distribution for the baseline outcome.