factor_regex {tidycat} | R Documentation |
Primarily developed for use within tidycat::tidy_categorical()
factor_regex(m, at_start = TRUE)
m |
A model object, created using a function such as stats::lm() |
at_start |
Logical indicating whether or not to include |
A character string for use as a regular expression.
Guy J. Abel
m0 <- lm(formula = mpg ~ disp + as.factor(am)*as.factor(vs), data = mtcars)
factor_regex(m = m0)