Creates a report table from models fitted by glmnet.
# S3 method for glmnet
report(
x,
s,
gamma = 1,
drop.zero = TRUE,
file = NULL,
type = "word",
digits = 3,
info = TRUE,
print = TRUE,
exclude = NULL,
...
)A data frame with the report table
A glmnet model object
Value of lambda for estimating the coefficients
Value of gamma for estimating the coefficients (only used in relaxed fits)
Should zero coefficients be dropped?
Name of the file to export the table
Format of the file
Number of decimals
If TRUE, include call in the exported table
Should the report table be printed on screen?
Vector with rownames to remove from output
Further arguments passed to make_table