report.glmnet: Report models from glmnet package

Description Usage Arguments Value

View source: R/report_model.R

Description

Creates a report table from models fitted by glmnet.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## S3 method for class 'glmnet'
report(
  x,
  s,
  gamma = 1,
  drop.zero = TRUE,
  file = NULL,
  type = "word",
  digits = 3,
  info = TRUE,
  print = TRUE,
  ...
)

Arguments

x

A glmnet model object

s

Value of lambda for estimating the coefficients

gamma

Value of gamma for estimating the coefficients (only used in relaxed fits)

drop.zero

Should zero coefficients be dropped?

file

Name of the file to export the table

type

Format of the file

digits

Number of decimals

info

If TRUE, include call in the exported table

print

Should the report table be printed on screen?

...

Further arguments passed to make_table

Value

A data frame with the report table


repmod documentation built on March 22, 2021, 5:08 p.m.

Related to report.glmnet in repmod...