plotMultipleRoc: Plot a ROC plot for multiple models

Description Usage Arguments Details Value

View source: R/plotting.R

Description

This function plots multiple ROC plots for comparison

Usage

1
plotMultipleRoc(runPlpList, names, type = "test", grid = T, ncol = 2)

Arguments

runPlpList

An object of class 'runPlp' or list of object of class 'runPlp' returned by implementing runPlp() or the output when implementing an existing model

names

A string or vector of model names corresponding to the runPlpList

type

A strng or vector of evaluation types (train/test/validation) to filter for each runPlp

grid

Whether to plot each model seperately using a grid or overlay the plots (grid=F)

ncol

The number of columns for the grid

Details

Users need to input a list of trained models (the output of runPlp()) or the output of running an existing model

Value

A plot is returned with the ROC plots for each model


OHDSI/PredictionComparison documentation built on July 14, 2020, 6:16 p.m.