print.AROC: Print method for 'AROC' objects

View source: R/print.AROC.R

print.AROCR Documentation

Print method for AROC objects

Description

Default print method for objects fitted with AROC.bnp(), AROC.sp(), and AROC.kernel() functions.

Usage

## S3 method for class 'AROC'
print(x, ...)

Arguments

x

An object of class AROC as produced by AROC.bnp(), AROC.sp(), or AROC.kernel().

...

Further arguments passed to or from other methods. Not yet implemented.

Details

A short summary is printed including the area under the covariate-adjusted ROC curve (AAUC), and if required, the partial area under the covariate-adjusted ROC curve (pAAUC).

See Also

AROC.bnp, AROC.sp or AROC.kernel.

Examples

library(ROCnReg)
data(psa)
# Select the last measurement
newpsa <- psa[!duplicated(psa$id, fromLast = TRUE),]

# Log-transform the biomarker
newpsa$l_marker1 <- log(newpsa$marker1)

AROC_bnp <- AROC.bnp(formula.h = l_marker1 ~ f(age, K = 0),
group = "status", tag.h = 0, data = newpsa, standardise = TRUE,
p = seq(0,1,l=101), compute.lpml = TRUE, compute.WAIC = TRUE)

AROC_bnp



ROCnReg documentation built on March 31, 2023, 5:42 p.m.