perf_df | R Documentation |
shows classification performance statistics as a table
perf_df(fitted, actual, quantiles = NULL)
fitted |
A character value. Evaluates to a numeric column. |
actual |
A character value. Evaluates to a logical or binary column. |
quantiles |
Number of quantiles to show. If |
perf_df(mtcars$mpg, mtcars$am)
perf_df(mtcars$mpg, mtcars$am, quantiles = 4)
perf_df(mtcars$mpg, mtcars$am, quantiles = 10)
perf_df(mtcars$wt, mtcars$am==0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.