roc_predict_performance_by_gr: Calculate perfornamce for each pair of groups

Description Usage Arguments Value

View source: R/roc_predict_performance_by_gr.R

Description

This function works as combination of roc_predict and calculate_performance, just object may have more than 1 row.

Usage

1
roc_predict_performance_by_gr(object, x_new, gr_new)

Arguments

object

Either an object of class roc_info or a data frame, which contains columns: "cutoff" (numeric), "below" (character), "above" (character).

x_new

A numeric vector to predict on.

gr_new

A factor vector associated with 'x_new'

Value

A dataframe with performance calculated on test data


GegznaV/multiROC documentation built on Sept. 15, 2020, 10:33 a.m.