Description Usage Arguments Details Value
Helper function for error handling This function was adapted from Martin Fahrenberger's sflST package (https://github.com/Martin-Fahrenberger/sflST)
1 | coef_error(lasso, lambda)
|
lasso |
lasso model object you want to evaluate |
lambda |
lambda value at which you are trying to evaluate |
This function catches errors due to truncation of the lasso solution path and returns output for the best available lambda
returns the nearest possible evaluation to your lambda
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.