Best Subset GLM and Regression Utilities
Overview
Best subset glm using information criteria or cross-validation, carried by using 'leaps' algorithm (Furnival and Wilson, 1974) doi:10.2307/1267601 or complete enumeration (Morgan and Tatar, 1972) doi:10.1080/00401706.1972.10488918. Implements PCR and PLS using AIC/BIC. Implements one-standard deviation rule for use with the 'caret' package.
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Yuanhao Lai <ylai72@uwo.ca>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "A.I.",
family = "McLeod",
role = "aut"),
person(given = "Changjiang",
family = "Xu",
role = "aut"),
person(given = "Yuanhao",
family = "Lai",
role = c("aut", "cre"),
email = "ylai72@uwo.ca"))
as necessary.- NOTE11 OK, 2 NOTE2026-09-08
- ERROR10 OK, 2 NOTE, 1 ERROR2026-09-07
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 39includes a package overview page
- Examples that run
- 95%37 run in a plain check · 2 never run
- Exported functions with examples
- 100%
- Documented parameters
- 95%
- Return-value docs
- 100%
- Help pages citing references
- 44%
Downloads
Dependencies
Installing bestglm adds 9 packages (5 with compiled code, 12 MB of source tarballs). Heaviest: pls 4.2 MB, glmnet 2.7 MB, Rcpp 1.8 MB.
Code & Tests
Datasets
People & History
Maintainer since 0.37.3 (2020), previously A.I. McLeod (0.10 to 0.37.1)
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 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
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.37.3Latest
- 0.37.12019-11-12 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.372018-05-27 · diff ↗ ·
removed 1 export
oneSdRuleadded 9 exports
oneSDRule, pcreg, print.pcreg, summary.pcreg, predict.pcreg, plot.pcreg, residuals.pcreg, fitted.pcreg, plot1SDRule - RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 0.362017-02-23 · diff ↗ ·
added 6 exports
trainTestPartition, glmnetGridTable, glmnetPredict, grpregPredict, sphereX, NNPredict - 0.35
- RR 3.3.0 released · 2016-05-03
Show 18 earlier eventsHide 18 earlier events
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 0.342014-03-03 · diff ↗
- RR 3.0.0 released · 2013-04-03
- RR 2.15.0 released · 2012-03-30
- 0.332011-11-03 · diff ↗
- RR 2.14.0 released · 2011-10-31
- RR 2.13.0 released · 2011-04-13
- 0.312010-12-02 · diff ↗
- RR 2.12.0 released · 2010-10-15
- 0.302010-08-29 · diff ↗ ·
added 9 exports
CVDH, CVHTF, CVd, LOOCV, bestglm, oneSdRule, print.bestglm, summary.bestglm, to.binary - RR 2.11.0 released · 2010-04-22
- 0.202009-11-01 · diff ↗
- RR 2.10.0 released · 2009-10-26
- 0.142009-10-19 · diff ↗
- 0.132009-09-10 · diff ↗
- 0.102009-08-27
- RR 2.9.0 released · 2009-04-17
Package metadata
- First published
- 2009-08-27
- Total releases
- 13 / 17 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.1.0
- Bundled data
- 54 KB / 13 files
- Download size
- 837 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("bestglm")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.