print.rocit: Print 'rocit' Object

Description Usage Arguments See Also Examples

View source: R/print_ROCit.R

Description

Print rocit Object

Usage

1
2
## 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

1
2
3
4
5
6
7
8
9
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 July 1, 2020, 11:28 p.m.