stats_glm_logit {TrialEmulation} | R Documentation |
Fit outcome models using stats::glm
Description
Usage
stats_glm_logit(save_path)
Arguments
save_path |
Directory to save models. Set to |
Details
Specify that the pooled logistic regression outcome models should be fit using stats::glm with family = binomial(link = "logit")
.
Outcome models additional calculate robust variance estimates using sandwich::vcovCL
.
Value
An object of class te_stats_glm_logit
inheriting from te_model_fitter which is used for
dispatching methods for the fitting models.
See Also
Other model_fitter:
parsnip_model()
,
te_model_fitter-class
Examples
stats_glm_logit(save_path = tempdir())
[Package TrialEmulation version 0.0.4.0 Index]