Generalized Ridge Trace Plots for Ridge Regression
Overview
The genridge package introduces generalizations of the standard univariate ridge trace plot used in ridge regression and related methods. These graphical methods show both bias (actually, shrinkage) and precision, by plotting the covariance ellipsoids of the estimated coefficients, rather than just the estimates themselves. 2D and 3D plotting methods are provided, both in the space of the predictor variables and in the transformed space of the PCA/SVD of the predictors.
This is a major update to the package adding additional plotting methods
o Fleshed out and installed plot.precision()
o Illustrate plot.precision() in README.Rmd
o Added diab data, diabetes from CASI
o Fixed documentation for plot.ridge() so that plot.pcaridge() is documented explicitly.
o 'vif.ridge()` now returns a "vif.ridge" object list to prepare for a plot method.
o Added plot.vif.ridge() to plot VIFs vs shrinkage
o Added norm.diff = sqrt((b_OLS - b_ridge)^2) as a measure of shrinkage to precision()
o Added plot.precision() for plots of shrinkage vs. precision
o Added best() to display the optimal shrinkage criteria
From NEWS.md in the release
Install
Health
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘plot.precision.Rd’ ‘ridge.R’r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'plot.precision.Rd' 'ridge.R'r-oldrel-macos-x86_64
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘ridge.R’- NOTE13 NOTE2026-06-09
- ERROR12 NOTE, 1 ERROR2026-06-08
- NOTE3 OK, 11 NOTE2026-03-10
Documentation
- Help pages
- 18includes a package overview page
- Examples that run
- 94%17 run in a plain check · 1 hold no code
- Exported functions with examples
- 100%
- Documented parameters
- 72%
- Return-value docs
- 100%
- Help pages citing references
- 72%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Commits over time
5 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/friendly/genridge on 2026-10-25.
GitHub Pages site last deployed 2026-09-11
pkgdown site last built 2026-09-11
Dependencies
Installing genridge adds 83 packages (45 with compiled code, 76 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.8.0Latest
- 0.7.12024-11-13 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.7.02023-08-08 · diff ↗ ·
removed 4 exports
pattern:*\\.ridge, pattern:*\\.pcaridge, pattern:precision\\.*, pattern:ridge\\.*added 2 exports
pca, precision - RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.6.72020-01-29 · diff ↗
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 0.6-62017-10-06 · diff ↗
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
Show 12 earlier eventsHide 12 earlier events
- RR 3.2.0 released · 2015-04-16
- 0.6-5
- RR 3.1.0 released · 2014-04-10
- RR 3.0.0 released · 2013-04-03
- RR 2.15.0 released · 2012-03-30
- 0.6-32012-02-08 · diff ↗
- 0.6-2
- 0.6-12011-12-19 · diff ↗ ·
removed 11 exports
coef.ridge, print.ridge, plot.ridge, pairs.ridge, pca.ridge, vcov.ridge, precision, precision.ridge, precision.lm, vif.ridge, plot3d.ridgeadded 4 exports
pattern:*\\.ridge, pattern:*\\.pcaridge, pattern:precision\\.*, plot3d - 0.6-02011-12-05 · diff ↗ ·
added 6 exports
vcov.ridge, precision, precision.ridge, precision.lm, vif.ridge, plot3d.ridge - RR 2.14.0 released · 2011-10-31
- 0.5-02011-08-26
- RR 2.13.0 released · 2011-04-13
Package metadata
- First published
- 2011-08-26
- Total releases
- 11 / 15 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 15 KB / 5 files
- Download size
- 229 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("genridge")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.