Other packages > Find by keyword >

fbrglm  

Safe Formula-Based Regularized Generalized Linear Models
View on CRAN: Click here


Download and install fbrglm package within the R console
Install from CRAN:
install.packages("fbrglm")

Install from Github:
library("remotes")
install_github("cran/fbrglm")

Install by package version:
library("remotes")
install_version("fbrglm", "0.0.1")



Attach the package and use:
library("fbrglm")
Maintained by
Koki Tsuyuzaki
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-06-22
Latest Update: 2026-06-22
Description:
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'.
How to cite:
Koki Tsuyuzaki (2026). fbrglm: Safe Formula-Based Regularized Generalized Linear Models. R package version 0.0.1, https://cran.r-project.org/web/packages/fbrglm. Accessed 06 Aug. 2026.
Previous versions and publish date:
(2026-07-14 10:30), 0.0.1 (2026-06-22 17:00)
Other packages that cited fbrglm R package
View fbrglm citation profile
Other R packages that fbrglm depends, imports, suggests or enhances
Complete documentation for fbrglm
Functions, R codes and Examples using the fbrglm R package
Full fbrglm package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
Download / Learn more Package Citations See dependency  
TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  
RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA