Skip to contents

Plot method for RenoirSummaryTable object

Usage

# S3 method for RenoirSummaryTable
plot(x, y, key, measure, set, interactive = FALSE, ...)

Arguments

x

an object of class Renoir

y

unused parameter

key

a character vector indicating how to group elements

measure

the performance metric to plot

set

the data set to consider (train, test or full)

interactive

logical, whether to draw an interactive plot

...

optional graphical parameters to plot_evaluation (if interactive = FALSE) or plotly_evaluation (if interactive = TRUE)

Value

An object of class ggplot (if interactive = FALSE) or plotly (if interactive = TRUE)