TimeToEvent
class
TimeToEvent-class.Rd
TimeToEvent
class
Slots
function_stan_code
character. Code to include in the Stan functions program block.
param_stan_code
character. Code to include in the Stan parameters program block.
likelihood_stan_code
character. Code defining the likelihood to include in the Stan model program block.
data_stan_code
character. Code to include in the Stan data program block.
n_param
integer. Number of ancillary parameters for the model to estimate.
param_priors
list. Named list of prior distributions on the ancillary parameters in the model.
time_var
character. Variable used for time in
TimeToEvent
objects.cens_var
character. Variable used for censoring in
TimeToEvent
objects.baseline_prior
Prior
. Object of classPrior
specifying prior distribution for the baseline outcome.