This function fits a potentially sparse supervised learning model and returns a bit vector indicating which features were selected.
l0(x, y, s, params, ...)Design matrix.
Outcome vector.
Regression method. Current options are "lasso" or
"boost".
Optional list of parameters to use when s = "boost".
Extra parameters to be passed to the feature selection subroutine.