Description Usage Arguments Value
Generate coefficient path plot.
1 | make_coef_plot(coef_df, best_lambda, style = "base")
|
coef_df |
A data frame with 3 columns: |
best_lambda |
A scalar for the lambda value at which the cv score is lowest. For plotting a vertical line for the selected coefficient values. |
style |
A character scalar. Possible values are |
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.