modelr: Modelling Functions that Work with the Pipe

Functions for modelling that help you seamlessly integrate modelling into a pipeline of data manipulation and visualisation.

Author
Hadley Wickham [aut, cre], RStudio [cph]
Date of publication
2016-08-31 20:46:56
Maintainer
Hadley Wickham <hadley@rstudio.com>
License
GPL-3
Version
0.1.0
URLs

View on CRAN

Man pages

add_predictions
Add predictions to a data frame
add_predictors
Add predictors to a formula
add_residuals
Add residuals to a data frame
bootstrap
Generate 'n' bootstrap replicates.
crossv_mc
Generate cross-validated test-training pairs
data_grid
Generate a data grid.
fit_with
Fit a list of formulas
formulas
Create a list of formulas
geom_ref_line
Add a reference line (ggplot2).
heights
Height and income data.
model_matrix
Construct a design matrix
model-quality
Compute model quality for a given dataset
na.warn
Handle missing values with a warning
pipe
Pipe operator
resample
A "lazy" resample.
resample_bootstrap
Generate a boostrap replicate
resample_partition
Generate an exclusive partitioning of a data frame
seq_range
Generate a sequence over the range of a vector
sim
Simple simulated datasets
typical
Find the typical value

Files in this package

modelr
modelr/tests
modelr/tests/testthat.R
modelr/tests/testthat
modelr/tests/testthat/test-predictions.R
modelr/tests/testthat/test-response_var.R
modelr/tests/testthat/test-formulas.R
modelr/NAMESPACE
modelr/data
modelr/data/sim4.rda
modelr/data/sim1.rda
modelr/data/heights.rda
modelr/data/sim2.rda
modelr/data/sim3.rda
modelr/R
modelr/R/data-grid.R
modelr/R/utils.R
modelr/R/seq_range.R
modelr/R/bootstrap.R
modelr/R/quality.R
modelr/R/resample.R
modelr/R/na-warn.R
modelr/R/data.R
modelr/R/partition.R
modelr/R/predictions.R
modelr/R/cross-validation.R
modelr/R/model_matrix.R
modelr/R/typical.R
modelr/R/utils-lang.R
modelr/R/geom_ref_line.R
modelr/R/response.R
modelr/R/formulas.R
modelr/R/residuals.R
modelr/README.md
modelr/MD5
modelr/DESCRIPTION
modelr/man
modelr/man/pipe.Rd
modelr/man/bootstrap.Rd
modelr/man/formulas.Rd
modelr/man/typical.Rd
modelr/man/model_matrix.Rd
modelr/man/add_predictions.Rd
modelr/man/seq_range.Rd
modelr/man/na.warn.Rd
modelr/man/resample.Rd
modelr/man/resample_partition.Rd
modelr/man/model-quality.Rd
modelr/man/fit_with.Rd
modelr/man/crossv_mc.Rd
modelr/man/resample_bootstrap.Rd
modelr/man/add_residuals.Rd
modelr/man/add_predictors.Rd
modelr/man/data_grid.Rd
modelr/man/heights.Rd
modelr/man/sim.Rd
modelr/man/geom_ref_line.Rd