leeper/prediction: Tidy, Type-Safe 'prediction()' Methods

A one-function package containing 'prediction()', a type-safe alternative to 'predict()' that always returns a data frame. The 'summary()' method provides a data frame with average predictions, possibly over counterfactual versions of the data (a la the 'margins' command in 'Stata'). Marginal effect estimation is provided by the related package, 'margins' <https://cran.r-project.org/package=margins>. The package currently supports common model types (e.g., "lm", "glm") from the 'stats' package, as well as numerous other model classes from other add-on packages. See the README or main package documentation page for a complete listing.

Getting started

Package details

Maintainer
LicenseMIT + file LICENSE
Version0.3.15
URL https://github.com/leeper/prediction
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("leeper/prediction")
leeper/prediction documentation built on Jan. 1, 2020, 6:10 p.m.