cvLM
Cross-Validation for Linear and Ridge Regression Models
Implements cross-validation methods for linear and ridge regression models. The package provides grid-based selection of the ridge penalty parameter using Singular Value Decomposition (SVD) and supports K-fold cross-validation, Leave-One-Out Cross-Validation (LOOCV), and Generalized Cross-Validation (GCV). Computations are implemented in C++ via 'RcppArmadillo' with optional parallelization using 'RcppParallel'. The methods are suitable for high-dimensional settings where the number of predictors exceeds the number of observations.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
2.0.0 |
2026-04-09 windows/windows R-4.5 | cvLM_2.0.0.zip |
497.6 KiB |
Dependencies (latest)
Imports
- stats
- Rcpp (>= 1.0.13)
- RcppParallel (>= 5.1.8)
LinkingTo
Suggests
- boot
- RhpcBLASctl
- testthat (>= 3.0.0)