fit_logit {amt}R Documentation

Fit logistic regression

Description

This function is a wrapper around stats::glm for a piped workflows.

Usage

fit_logit(data, formula, ...)

fit_rsf(data, formula, ...)

Arguments

data

⁠[data.frame]⁠
The data used to fit a model.

formula

⁠[formula]⁠
The model formula.

...

Further arguments passed to stats::glm.

Value

A list with the model output.


[Package amt version 0.2.2.0 Index]