R-CMD-check Lifecycle: stable Last Commit CRAN metacran downloads

cv package for R: Cross-Validation of Regression Models

The cv package for R provides a consistent and extensible framework for cross-validating standard R statistical models. Some of the functions supplied by the package:

For additional information on using the cv package, see the “Cross-validation of regression models” vignette (vignette("cv", package="cv")). The cv package is designed to be extensible to other classes of regression models, other CV criteria, and other model-selection procedures; for details, see the “Extending the cv package” vignette (vignette("cv-extend", package="cv")).

Installing the cv package

To install the current version of the cv package from CRAN:

install.packages("cv")

To install the development version of the cv package from GitHub:

if (!require(remotes)) install.packages("remotes")
remotes::install_github("gmonette/cv", build_vignettes=TRUE,
  dependencies=TRUE)