plot.compareR: Plot a compareR object

View source: R/generics.R View source: R/methods.R

plot.compareRR 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)


testCompareR documentation built on April 4, 2025, 2:35 a.m.