Description Usage Arguments Value See Also
Create data used to simulate health state transitions with a
continuous time state transition model (CTSTM) given the parameters from the
multi-state NMA (i.e., params_mstate_nma
). The included variables are
a function of the selected treatment sequences and the modeled patients.
1 | create_transmod_data(struct, trans_mat, patients)
|
struct |
A |
trans_mat |
A transition matrix as returned by |
patients |
A data table returned from |
An object of class "expanded_hesim_data" from the
hesim package, which
is a data table with one observation for each treatment strategy
(i.e., treatment sequence), patient, and transition combination. The model
structure (struct
) is stored as a "model_structure" attribute and the
transition matrix (trans_mat
) is stored as a "trans_mat" attribute.
create_transmod
, create_transmod_params
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.