Description Usage Arguments Value
Generate cross-validation score path plot.
1 | make_cvscore_plot(cvscore_df, score_name, best_lambda, style = "base")
|
cvscore_df |
A data frame with 2 columns: |
score_name |
A string identifying the type of score used, e.g.,
|
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.