Statistical Tools for Covariance Analysis
Overview
Covariance is of universal prevalence across various disciplines within statistics. We provide a rich collection of geometric and inferential tools for convenient analysis of covariance structures, topics including distance measures, mean covariance estimator, covariance hypothesis test for one-sample and two-sample cases, and covariance estimation. For an introduction to covariance in multivariate statistical analysis, see Schervish (1987) doi:10.1214/ss/1177013111.
- Replaced the external generalized-eigenvalue dependency with internal symmetric-definite matrix-pair helpers based on a Cholesky reduction.
- Removed an obsolete native generalized-eigenvalue wrapper.
- Corrected positive-definite hard-threshold selection and now verify every returned covariance estimate against the documented eigenvalue tolerance.
- Corrected Power-Euclidean distances and means for negative powers, fixed Procrustes size-and-shape distances, and covered scalar and one-slice inputs.
- Corrected bandwidth selection and matrix construction in the Banerjee, An, and Lee banded precision estimators.
- Corrected graphical-lasso BIC scoring and return the sparse positive-definite ADMM estimate.
- Centered covariance diagonality tests, restored the documented Cai test result field, and added minimum-sample and degenerate-data checks.
Show all changes in 0.5.7Hide the rest of the changes in 0.5.7
- Sequential cross-validation and BIC selection no longer create socket workers; parallel paths now clean up workers without changing the caller's global foreach backend.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-07-31
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 22
- Examples that run
- 59%13 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 8 never run
- Exported functions with examples
- 100%
- Documented parameters
- 85%
- Return-value docs
- 100%
- Help pages citing references
- 95% with a bibliography file
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
- 14
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/kisungyou/covtools on 2026-10-18.
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.5.7Latest
- 0.5.62025-09-22 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.5.42021-08-14 · diff ↗
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.5.32019-11-26 · diff ↗
- 0.5.2
- RR 3.6.0 released · 2019-04-26
- 0.5.12019-01-29 · diff ↗ ·
removed 7 exports
BayesTest1, CovTest1, CovTest2, DiagTest1, PreEst.banded1, PreEst.banded2, PreEst.banded3added 10 exports
BCovTest1.mxPBF, BDiagTest1.mxPBF, CovTest1.2013Cai, CovTest1.2014Srivastava, CovTest2.2013Cai, DiagTest1.2011Cai, DiagTest1.2015Lan, PreEst.2014An, PreEst.2014Banerjee, PreEst.2017Lee - 0.5.0
- 0.4.02018-09-01 · diff ↗
Show 7 earlier eventsHide 7 earlier events
- 0.3.12018-05-20 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.3.02018-02-18 · diff ↗ ·
removed 4 exports
CovEst, CovEst.auto, PreEst, PreEst.autoadded 9 exports
CovEst.adaptive, CovEst.hard, CovEst.hardPD, CovEst.nearPD, CovEst.soft, PreEst.banded1, PreEst.banded2, PreEst.banded3, PreEst.glasso - 0.2.12017-11-16 · diff ↗
- 0.2.0
- 0.1.02017-10-16
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-10-16
- Total releases
- 13 / 9 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 2.14.0
- Download size
- 108 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("CovTools")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-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.