Custom Lasso implementation for matrices of indicator functions
lassi(
x,
y,
lambdas = NULL,
nlambda = 100,
lambda_min_ratio = 0.01,
center = FALSE
)
The covariate matrix
The outcome vector
A sequence of values for the L1 regularization parameter
(lambda) to be used in fitting the LASSO. Defaults to NULL
.
number of lambdas to fit.
ratio of largest to smallest lambda to fit.
...