The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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

cv package for R: Cross-Validating 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 introductory information on using the cv package, see the “Cross-validating regression models” vignette (vignette("cv", package="cv")). There are also vignettes on cross-validating mixed-effects models (vignette("cv-mixed", package="cv")), cross-validating model selection (vignette("cv-selection", package="cv")), and computational and technical notes (vignette("cv-notes", 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)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.