R6
base class for continuous time state transition modelsA non-exported base class for continuous time state transition models containing methods that can be used to summarize fitted multi-state models.
An R6::R6Class object.
hazard()
Predict the hazard functions for each health state transition.
CtstmTrans$hazard(t)
t
A numeric vector of times.
A data.table
with columns trans
(the transition number),
sample
, strategy_id
, grp_id
, t
, and hazard
.
cumhazard()
Predict the cumulative hazard functions for each health state transition.
CtstmTrans$cumhazard(t)
t
A numeric vector of times.
A data.table
with columns trans
,
sample
, strategy_id
, grp_id
, t
, and hazard
.
clone()
The objects of this class are cloneable with this method.
CtstmTrans$clone(deep = FALSE)
deep
Whether to make a deep clone.