coef.droplasso: Coefficients of a model of class droplasso

Description Usage Arguments Value References See Also

Description

This function extracts the matrix of coefficients for the model(s) trained by the droplasso function corresponding to regularization parameters of interest.

Usage

1
2
## S3 method for class 'droplasso'
coef(object, s = NULL, ...)

Arguments

object

Object of class droplasso

s

Value(s) of the penalty parameter lambda at which coefficients are required. Can be either omitted, or a vector of numeric values. If omitted, default is the entire sequence used to create the model.

...

other arguments.

Value

A matrix of coefficients, each column corresonds to a regularization parameter.

References

Adapted from the same function in Coxnet package.

See Also

droplasso, predict methods.


jpvert/droplasso documentation built on May 6, 2019, 7:17 a.m.