plot.compareR {testCompareR}R Documentation

Plot a compareR object

Description

An S3 method to plot a simple visualisation of the results from the compareR function.

Usage

## S3 method for class 'compareR'
plot(x, ...)

Arguments

x

An object of class compareR.

...

Arguments such as graphical parameters. Not currently in use.

Details

Method to plot the most commonly used results of the compareR output.

Value

A visualisation of the results for diagnostic accuracies and predictive values from the compareR output.

Examples

# generate result
res <- compareR(cass, test1 = "exercise", test2 = "cp",
                gold = "angio",
                test.names = c("ExerciseStressTest", "ChestPain"))

# run print method
plot(res)


[Package testCompareR version 1.1.0 Index]