Learn R Programming

SeaVal (version 1.1.1)

create_diagram_by_level: Auxiliary function to simplify grouping for diagrams

Description

Only works for functions that return a single plot if by == NULL. This is not the case for some functions plotting results for all three categories, e.g. reliability diagrams or ROC curves.

Usage

create_diagram_by_level(FUN, by, dt, ...)

Arguments

FUN

The name of the function creating the diagram

by

Column names in dt to group by

dt

data table (cannot be part of ..., because a sub-data-table is passed to FUN)

...

arguments passed to FUN