Skip to contents

Function that prints the summary of a elastic_net object

Usage

# S3 method for class 'summary.elastic_net'
print(x, ...)

Arguments

x

(summary.elastic_net)
Summary of a elastic_net object.

...

Other arguments of print.

Value

The summary of the object.

Examples

print(summary(elastic_net_fit_bin))
#>    subgroup trt.estimate
#> 1      x_1a   -0.4630356
#> 2      x_1b   -0.4640925
#> 3      x_2a   -0.4641309
#> 4      x_2b   -0.4627381
#> 5      x_3a   -0.4641478
#> 6      x_3b   -0.4655599
#> 7      x_4a   -0.4680262
#> 8      x_4b   -0.4692093
#> 9      x_4c   -0.4694130
#> 10     x_5a   -0.4634293
#> 11     x_5b   -0.4636389
#> 12     x_5c   -0.4636766
#> 13     x_5d   -0.4642408
#> 14     x_6a   -0.4654683
#> 15     x_6b   -0.4641194
#> 16     x_7a   -0.4648754
#> 17     x_7b   -0.4634455
#> 18     x_8a   -0.4634342
#> 19     x_8b   -0.4638282
#> 20     x_8c   -0.4631196
#> 21     x_9a   -0.4658293
#> 22     x_9b   -0.4636106
#> 23    x_10a   -0.4636131
#> 24    x_10b   -0.4640435
#> 25    x_10c   -0.4644675