formulaic: 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.

Version: 0.0.8
Depends: R (≥ 3.2.0)
Imports: data.table, methods
Suggests: knitr, rmarkdown, testthat (≥ 2.1.0), covr
Published: 2021-02-15
DOI: 10.32614/CRAN.package.formulaic
Author: David Shilane [aut], Anderson Nelson [aut, ctb, cre], Caffrey Lee [aut, ctb], Zichen Huang [aut, ctb]
Maintainer: Anderson Nelson <an2908 at>
License: GPL-3
NeedsCompilation: no
Materials: README NEWS
CRAN checks: formulaic results


Reference manual: formulaic.pdf
Vignettes: Introduction to Formulaic


Package source: formulaic_0.0.8.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): formulaic_0.0.8.tgz, r-oldrel (arm64): formulaic_0.0.8.tgz, r-release (x86_64): formulaic_0.0.8.tgz, r-oldrel (x86_64): formulaic_0.0.8.tgz
Old sources: formulaic archive

Reverse dependencies:

Reverse imports: getDTeval


Please use the canonical form to link to this page.