
Estimate an appropriate value for the ridge penalty (lambda).
get_lambda.RdEstimate an appropriate value for the ridge penalty (lambda).
Arguments
- Y
A numeric matrix of response variables.
- X
A numeric matrix of explanatory variables.
- scale.X
Logical indicating if
Xis scaled. Default isFALSE.- sample.X
A number of variables sampled from X for the lamdba range estimate. Default is 1000.
- sample.Y
A number of variables sampled from Y for the lamdba range estimate. Default is 1000.
- num.lambda
A number of lambda generated. Default is 50.