plotROC,PCOSP-method {PDATK} | R Documentation

## Plot ROC curves for a `PCOSP` model object.

### Description

Plot ROC curves for a `PCOSP` model object.

### Usage

    ## 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

    data(sampleValPCOSPmodel)

    # Plot ROC curves
    AUROCplot <- plotROC(sampleValPCOSPmodel)

[Package PDATK version 1.2.0 Index]