lasso_max_lambda: Maximum lambda in lasso model

Description Usage Arguments Value

Description

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

Usage

1
2
3
4
5
6
lasso_max_lambda_lars(X, y, ...)

lasso_max_lambda_glmnet(X, y, nlambda = 200, intercept = T,
  standardize = T, ...)

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

Arguments

X

matrix of predictors

y

response vector

method

either 'glmnet' or 'lars'

Value

vector of maximum lambda's


MFKnockoffs documentation built on May 2, 2019, 6:33 a.m.