disprog | R Documentation |
An object of class disprog
returned from methods
$sim_disease()
in model classes. It contains simulated trajectories
through a multi-state model.
A disprog
object inherits from data.table
and contains
the following columns:
A random sample from the PSA.
The treatment strategy ID.
The patient ID.
The health state ID transitioned from.
The health state ID transitioned to.
An indicator equal to 1 if a patient is in their final health state during the simulation and 0 otherwise.
The time at the start of the interval.
The time at the end of the interval.
The object also contains size
and absorbing
attributes.
The size
attribute is a numeric vector with the elements n_samples
,
n_strategies
, n_patients
, and n_states
denoting the number of samples,
treatment strategies, patients, and health states The absorbing
attribute
is a numeric vector containing the absorbing health states; i.e., the
health states that cannot be transitioned from. Operationally, an
absorbing state is a row in a transition matrix (as in the trans_mat
field
of the IndivCtstmTrans
class) with all NA
s.
A disease progression object can be simulated with either the
IndivCtstm
or IndivCtstmTrans
classes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.