Description Usage Arguments Details Value See Also
Extract parameters from a multi-state NMA for use with the data table returned by
create_transmod_data
, which are used to simulate health state
transitions with a continuous time state transition model (CTSTM).
1 2 3 | create_transmod_params(n = 100, data,
params_mstate_nma = iviNSCLC::params_mstate_nma, check_covs = FALSE,
covs = NULL)
|
n |
The number of random observations of the parameters to draw. |
data |
A data table of class "expanded_hesim_data" returned from
|
params_mstate_nma |
A list of |
check_covs |
Logical indicating whether to check that all covariates in
|
covs |
If |
The "dist" attribute from data
is used to select a survival
distribution from the mstate_nma
element contained in params
. The
covariates for the selected survival distribution in mstate_nma
that are also contained in data
are extracted.
A params_surv
objects from the
hesim package.
create_transmod
, create_transmod_data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.