coef.saenet | R Documentation |
coef.galasso
averages the estimates across imputations to return a
single vector instead of a matrix.
## S3 method for class 'saenet'
coef(object, lambda, alpha, ...)
object |
A "cv.saenet" fit |
lambda |
Chosen value of lambda. Must be between "min(lambda)" and "max(lambda)". Default is "lambda.min" |
alpha |
Chosen value of alpha. Must be between "min(alpha)" and "max(alpha)". Default is "alpha.min" |
... |
Additional unused arguments |
A numeric vector containing the coefficients from running
saenet
on lambda
and alpha
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.