tidy_formula: tidy formula construction

tidy_formulaR Documentation

tidy formula construction

Description

Takes a dataframe and allows for use of tidyselect to construct a formula.

Usage

tidy_formula(data, target, ...)

Arguments

data

dataframe

target

lhs

...

tidyselect. rhs

Value

a formula

Examples


iris %>%
tidy_formula(Species, tidyselect::everything())

autostats documentation built on Nov. 10, 2022, 6:13 p.m.