Learn R Programming

TrialEmulation (version 0.0.4.2)

stats_glm_logit: Fit outcome models using stats::glm

Description

[Experimental]

Usage

stats_glm_logit(save_path)

Value

An object of class te_stats_glm_logit inheriting from te_model_fitter which is used for dispatching methods for the fitting models.

Arguments

save_path

Directory to save models. Set to NA if models should not be saved.

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.

See Also

Other model_fitter: parsnip_model(), te_model_fitter-class

Examples

Run this code
stats_glm_logit(save_path = tempdir())

Run the code above in your browser using DataLab