lasso_max_lambda: Maximum lambda in lasso model

Description Usage Arguments Value

View source: R/stats_lasso.R

Description

Computes the earliest (largest) lambda's for which predictors enter the lasso model.

Usage

1
2
3
4
5
lasso_max_lambda_lars(X, y)

lasso_max_lambda_glmnet(X, y, nlambda = NULL)

lasso_max_lambda(X, y, method = c("glmnet", "lars"), ...)

Arguments

X

matrix of predictors

y

response vector

Value

vector of maximum lambda's


knockoff documentation built on May 29, 2017, 9:55 p.m.