Add a specified regression model for the exposure. This is used for natural course estimation of the Monte Carlo g-formula. This must be specified before calling the fit function.
1 2 3 4 5 6 7 |
formula |
Formula for specified models passed to |
subset |
an optional vector specifying a subset of observations to be used
in the fitting process (see |
family |
A description of the error distribution and link function
to be used in the |
order |
Numeric, temporal ordering of the Covariates. |
type |
Model type. Exposure model ( |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.