Cross-validate one or multiple regression and classification models and get relevant evaluation metrics in a tidy format. Validate the best model on a test set and compare it to a baseline evaluation. Alternatively, evaluate predictions from an external model. Currently supports regression and classification (binary and multiclass). Described in chp. 5 of Jeyaraman, B. P., Olsen, L. R., & Wambugu M. (2019, ISBN: 9781838550134).
| Version: | 1.8.1 | 
| Depends: | R (≥ 3.5) | 
| Imports: | checkmate (≥ 2.0.0), data.table (≥ 1.12), dplyr (≥ 0.8.5), ggplot2, groupdata2 (≥ 2.0.5), lifecycle, lme4 (≥ 1.1-23), MuMIn (≥ 1.43.17), parameters (≥ 0.15.0), plyr, pROC (≥ 1.16.0), purrr, rearrr (≥ 0.3.4), recipes (≥ 0.1.13), rlang (≥ 0.4.7), stats, stringr, tibble (≥ 3.0.3), tidyr (≥ 1.1.2), utils | 
| Suggests: | AUC, covr (≥ 3.3.1), e1071 (≥ 1.7-2), furrr, ggimage (≥ 0.3.3), ggnewscale (≥ 0.5.0), knitr, merDeriv (≥ 0.2-4), nnet (≥ 7.3-20), randomForest (≥ 4.6-14), rmarkdown, rsvg, testthat (≥ 2.3.2), xpectr (≥ 0.4.3) | 
| Published: | 2025-08-24 | 
| DOI: | 10.32614/CRAN.package.cvms | 
| Author: | Ludvig Renbo Olsen | 
| Maintainer: | Ludvig Renbo Olsen <r-pkgs at ludvigolsen.dk> | 
| BugReports: | https://github.com/ludvigolsen/cvms/issues | 
| License: | MIT + file LICENSE | 
| URL: | https://github.com/ludvigolsen/cvms | 
| NeedsCompilation: | no | 
| Materials: | README, NEWS | 
| CRAN checks: | cvms results | 
| Reference manual: | cvms.html , cvms.pdf | 
| Vignettes: | creating_confusion_matrix (source, R code) available_metrics (source, R code) cross_validating_custom_functions (source, R code) evaluate_by_id (source, R code) picking_the_number_of_folds_for_cross-validation (source, R code) | 
| Package source: | cvms_1.8.1.tar.gz | 
| Windows binaries: | r-devel: cvms_1.8.1.zip, r-release: cvms_1.8.1.zip, r-oldrel: cvms_1.8.1.zip | 
| macOS binaries: | r-release (arm64): cvms_1.8.1.tgz, r-oldrel (arm64): cvms_1.8.1.tgz, r-release (x86_64): cvms_1.8.1.tgz, r-oldrel (x86_64): cvms_1.8.1.tgz | 
| Old sources: | cvms archive | 
| Reverse imports: | explainer, oHMMed, priorityelasticnet, SPONGE | 
| Reverse suggests: | metabinR | 
Please use the canonical form https://CRAN.R-project.org/package=cvms to link to this page.