print.AROC {ROCnReg} | R 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 |
... |
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
[Package ROCnReg version 1.0-9 Index]