plotDisMet: Plot Discriminative Metrics

View source: R/dlcv_function.R

plotDisMetR Documentation

Plot Discriminative Metrics

Description

Functionality to plot both ROC and PRC curves for both the training and tests folds.

Usage

plotDisMet(x, bl = NA, group = "id", title = "", legend = F, breaks = F)

Arguments

x

Nested tibble object

bl

Discriminative metrics for a baseline model (sensitivity, specificity and PPV)

group

Group parameter

title

Plot title

legend

Boolean to visualise legend

breaks

Boolean to plot additional breaks and lines

Details

Version 1.0 2022-02-15

Value

Cowplot visualisation with four plots; ROC and PRC curves for both the training and tests folds.


mikeniemant/nbs documentation built on June 23, 2022, 4:52 a.m.