fit.LASSO {peperr} | R Documentation |
Interface function for fitting a generalised linear model with the lasso
Description
Interface for fitting survival models with the lasso, conforming to the requirements of argument fit.fun
in peperr
call.
Usage
fit.LASSO(response, x, cplx, ...)
Arguments
response |
response. Could be numeric vector for linear regression, |
x |
|
cplx |
LASSO penalty. |
... |
additional arguments passed to |
Details
Function is basically a wrapper around function penalized
of package penalized
.
Value
penfit object
See Also
peperr
, penalized
[Package peperr version 1.5 Index]