Movatterモバイル変換


[0]ホーム

URL:


R-CMD-checkLifecycle: stableLast CommitCRANmetacran downloads

cv packagefor R: Cross-Validating Regression Models

Thecv package for R provides a consistent andextensible framework for cross-validating standard R statistical models.Some of the functions supplied by the package:

For additional introductory information on using thecv package, see the “Cross-validatingregression models” vignette(vignette("cv", package="cv")). There are also vignettes oncross-validatingmixed-effects models(vignette("cv-mixed", package="cv")),cross-validatingmodel selection(vignette("cv-selection", package="cv")), andcomputationaland technical notes(vignette("cv-notes", package="cv")). Thecv package is designed to be extensible to otherclasses of regression models, other CV criteria, and othermodel-selection procedures; for details, see the “Extendingthe cv package” vignette(vignette("cv-extend", package="cv")).

Installing the cv package

To install the current version of thecv packagefrom CRAN:

install.packages("cv")

To install the development version of thecv packagefrom GitHub:

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

[8]ページ先頭

©2009-2025 Movatter.jp