tidypredict_fit: Returns a Tidy Eval formula to calculate fitted values

Description Usage Arguments Examples

View source: R/predict-fit.R

Description

It parses a model or uses an already parsed model to return a Tidy Eval formula that can then be used inside a dplyr command.

Usage

1

Arguments

model

An R model or a list with a parsed model.

Examples

1
2
model <- lm(mpg ~ wt + cyl * disp, offset = am, data = mtcars)
tidypredict_fit(model)

edgararuiz/tidypredict documentation built on Oct. 2, 2021, 8:04 a.m.