Learn R Programming

testCompareR (version 1.1.0)

print.compareR: Print a compareR object

Description

An S3 method to print the results verbose from the compareR function.

Usage

# S3 method for compareR
print(x, ...)

Value

A printed results table of the compareR output.

Arguments

x

An object of class compareR.

...

Further arguments passed to or from other methods.

Details

Method to print the pertinent results of the compareR output.

Examples

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

# run print method
print(res)

Run the code above in your browser using DataLab