Skip to contents

Re-runs logistic_regression with a modified formula or arguments, e.g. update(model, . ~ . + income); step() works through it. Needs the data by name: a model fitted inside a %>% pipe cannot be updated.

Usage

# S3 method for class 'logistic_regression'
update(object, formula., ..., evaluate = TRUE)

Arguments

object

A logistic_regression result (also grouped).

formula.

Changes to the formula (see stats::update()).

...

Further arguments of logistic_regression() to change.

evaluate

If FALSE, return the updated call.

Value

A new logistic_regression result (or the call).