plotROC-PCOSP-method: Plot ROC curves for a 'PCOSP' model object.

Description Usage Arguments Value Examples

Description

Plot ROC curves for a PCOSP model object.

Usage

1
2
## S4 method for signature 'PCOSP'
plotROC(object, alpha = 0.05, ..., xlabel, ylabel, title)

Arguments

object

A PCOSP model which has been validated with with the validateModel method.

alpha

A float specifying the significance level for the plot. Non- signficiant cohorts will have dotted lines.

...

Catch unnamed parameters. Not used.

xlabel

A character vector specifying the x label.

ylabel

A character vector specifying the y label.

title

A character vector speciyfing the plot tile.

Value

A ggplot object containing the ROC curves.

Examples

1
2
3
4
data(sampleValPCOSPmodel)

# Plot ROC curves
AUROCplot <- plotROC(sampleValPCOSPmodel)

bhklab/PanCuRx documentation built on Dec. 30, 2021, 4:59 p.m.