Package: fbrglm 0.0.1
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.0.1.tar.gz
fbrglm_0.0.1.zip(r-4.7)fbrglm_0.0.1.zip(r-4.6)fbrglm_0.0.1.zip(r-4.5)
fbrglm_0.0.1.tgz(r-4.6-any)fbrglm_0.0.1.tgz(r-4.5-any)
fbrglm_0.0.1.tar.gz(r-4.7-any)fbrglm_0.0.1.tar.gz(r-4.6-any)
fbrglm_0.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
fbrglm/json (API)
NEWS
| # 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:f11522f75e. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 105 | ||
| source / vignettes | OK | 221 | ||
| linux-release-x86_64 | OK | 123 | ||
| macos-release-arm64 | OK | 132 | ||
| macos-oldrel-arm64 | OK | 154 | ||
| windows-devel | OK | 87 | ||
| windows-release | OK | 72 | ||
| windows-oldrel | OK | 82 | ||
| wasm-release | OK | 107 |
Exports:as_cv_glmnetas_glmnetfbrglm
Dependencies:codetoolsforeachglmnetiteratorslatticeMatrixRcppRcppEigenshapesurvival
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 |
