Description Usage Arguments Value Examples
Auxiliary function to generate suitable lambda parameters
1 2 3 4 5 6 7 8 |
lambda.largest |
numeric value for largest number of lambda to consider (usually with a target of 1 selected variable) |
xdata |
X parameter for glmnet function |
ydata |
Y parameter for glmnet function |
family |
family parameter to glmnet function |
orders.of.magnitude.smaller |
minimum value for lambda (lambda.largest / 10^orders.of.magnitude.smaller) |
lambda.per.order.magnitude |
how many lambdas to create for each order of magnitude |
a numeric vector with suitable lambdas
1 | buildLambda(5.4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.