R6 base class for continuous time state transition modelsContains methods that can be used to summarize both individual- and cohort-level continuous time state transition models. That is, this class is relevant for both Markov and semi-Markov multi-state models and does not depend on the methodology used for prediction of state probabilities.
An R6::R6Class object.
hazard()Predict the hazard functions for each health state transition.
CtstmTrans$hazard(t)tA numeric vector of times.
A data.table with columns transition_id,
sample, strategy_id, grp_id, t, and hazard.
cumhazard()Predict the cumulative hazard functions for each health state transition.
CtstmTrans$cumhazard(t)tA numeric vector of times.
A data.table with columns transition_id,
sample, strategy_id, grp_id, t, and cumhazard.
clone()The objects of this class are cloneable with this method.
CtstmTrans$clone(deep = FALSE)deepWhether to make a deep clone.
create_IndivCtstmTrans(), IndivCtstmTrans