Learn R Programming

ROCit (version 2.1.1)

print.rocit: Print rocit Object

Description

Print rocit Object

Usage

# S3 method for rocit
print(x, ... = NULL)

Arguments

x

An object of class "rocit", returned by rocit function.

...

NULL. Used for S3 generic/method consistency.

See Also

rocit, summary.rocit

Examples

Run this code
data("Diabetes")
roc_empirical <- rocit(score = Diabetes$chol, class = Diabetes$dtest,
                       negref = "-") # default method empirical
roc_binormal <- rocit(score = Diabetes$chol, class = Diabetes$dtest,
                     negref = "-", method = "bin")

# ---------------------
print(roc_empirical)
print(roc_binormal)


Run the code above in your browser using DataLab