Produce Regular Expressions for Extracting Factor Names and Levels
A utility function to produce a regular expression that can
separate factor names and factor levels in the broom::tidy()$term
output.
factorRegex(fit)
fit |
a model object |
Jarrod Dalton and Benjamin Nutter
data(PE, package = "HydeNet") g6 <- glm(treat ~ d.dimer + angio, data=PE, family="binomial") HydeNet:::factorRegex(g6)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.