This function returns the x-axis values that are going to be used by make_barplot_on_models_stats to render the bar plot.
1 | get_x_axis_values(models.stats, there.is.one.NaN.category, cont.values)
|
models.stats |
table object, the result of using table on a (numeric) vector. Usually it represents some models statistics summary - counts for each TP prediction value for example. |
there.is.one.NaN.category |
logical. Is there one NaN category?
(check is done before on the names attribute of the |
cont.values |
logical. If TRUE, the values of the x-axis will be trimmed to 3 digits after the decimal point. Otherwise, they will be returned as they are. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.