print.rocit: Print 'rocit' Object

View source: R/print_ROCit.R

print.rocitR Documentation

Print rocit Object

Description

Print rocit Object

Usage

## S3 method for class '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

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)



ROCit documentation built on May 29, 2024, 2:15 a.m.