Package: fbrglm 0.1.0
fbrglm: Safe Formula-Based Regularized Generalized Linear Models
A formula-based wrapper around 'glmnet' that brings the 'glm()'-compatible modeling workflow to regularized generalized linear models. Training-time 'terms', 'xlevels', and 'contrasts' are stored on the fit object and reused at predict time, so the design matrix is reconstructed consistently across sessions. Complete-case bookkeeping is exposed via 'nobs_info', and linearly dependent columns are detected by a QR pivot and reported as 'NA' in 'coef()' and 'summary()' (the 'stats::glm()' convention), distinguishing "not identifiable" from "shrunk to zero by the penalty". Novel factor levels at predict time raise the same error 'stats::predict.glm()' does by default, with 'on_new_levels = "na"' as a production-style opt-in. Accepts character family strings ('gaussian', 'binomial', 'poisson', 'cox', 'multinomial', 'mgaussian') and any 'glm' family object the underlying 'glmnet' itself accepts, including 'Gamma' and fixed-theta negative binomial via 'MASS::negative.binomial'.
Authors:
fbrglm_0.1.0.tar.gz
fbrglm_0.1.0.zip(r-4.7-any)fbrglm_0.1.0.zip(r-4.6-any)fbrglm_0.1.0.zip(r-4.5-any)
fbrglm_0.1.0.tgz(r-4.6-any)fbrglm_0.1.0.tgz(r-4.5-any)
fbrglm_0.1.0.tar.gz(r-4.7-any)fbrglm_0.1.0.tar.gz(r-4.6-any)
fbrglm_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
fbrglm/json (API)
| # Install 'fbrglm' in R: |
| install.packages('fbrglm', repos = c('https://dsc-chiba-u.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/dsc-chiba-u/fbrglm/issues
Last updated from:7e34df1017. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 110 | ||
| source / vignettes | OK | 282 | ||
| linux-release | OK | 123 | ||
| macos-release | OK | 174 | ||
| macos-oldrel | OK | 204 | ||
| windows-devel | OK | 59 | ||
| windows-release | OK | 126 | ||
| windows-oldrel | OK | 80 | ||
| wasm-release | OK | 115 |
Exports:as_cv_glmnetas_glmnetfbrglmglancetidy
Dependencies:clicodetoolsforeachgenericsglmnetglueiteratorslatticelifecyclemagrittrMatrixpillarpkgconfigRcppRcppEigenrlangshapesurvivaltibbleutf8vctrs
Last update: 2026-07-26
Started: 2026-07-26
Last update: 2026-07-26
Started: 2026-06-09
Last update: 2026-07-26
Started: 2026-07-26
Last update: 2026-06-09
Started: 2026-06-09
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Extract the Underlying cv.glmnet Fit | as_cv_glmnet |
| Extract the Underlying glmnet Fit | as_glmnet |
| Fit a Formula-Based Regularized GLM | coef.fbrglm fbrglm nobs.fbrglm plot.fbrglm predict.fbrglm print.fbrglm print.summary.fbrglm summary.fbrglm |
