Dynamic Generation and Quality Checks of Formula Objects

Many statistical models and analyses in R are implemented through formula objects. The formulaic package creates a unified approach for programmatically and dynamically generating formula objects. Users may specify the outcome and inputs of a model directly, search for variables to include based upon naming patterns, incorporate interactions, and identify variables to exclude. A wide range of quality checks are implemented to identify issues such as misspecified variables, duplication, a lack of contrast in the inputs, and a large number of levels in categorical data. Variables that do not meet these quality checks can be automatically excluded from the model. These issues are documented and reported in a manner that provides greater accountability and useful information to guide an investigation of the data.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.0.4 by Anderson Nelson, 6 days ago


Report a bug at https://github.com/dachosen1/formulaic/issues

Browse source code at https://github.com/cran/formulaic

Authors: David Shilane [aut] , Caffrey Lee [ctb] , Zichen Huang [ctb] , Anderson Nelson [ctb, cre]

Documentation:   PDF Manual  

GPL-3 license

Imports data.table, stats, DT

Suggests knitr, rmarkdown, testthat

See at CRAN