Description Usage Arguments Examples
This function plots a gap statistic profile as a function of the number of non-zero features, and optionally as a function of tunning parameters.
1 | plot_gapstat(df, plot_tuning_parameter = FALSE)
|
df |
A data frame that has columns: Wbound, NumberFeatures, GapStat, SD. |
plot_tuning_parameter |
A logical value. If TRUE, it also draws a second plot of gap statistic as a function of tunning parameters. Default FALSE. |
1 2 3 | library(reflect)
df <- egfr_result$gapstat_bestwbound$df_gapstat
plot_gapstat(df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.