| summary.AROC | R Documentation |
AROC objects
Default summary method for objects fitted with AROC.bnp(), AROC.bsp(), AROC.sp(), AROC.kernel(), pooledROC.BB() or pooledROC.emp() functions.
## S3 method for class 'AROC' summary(object, ...)
object |
an object of class |
... |
Further arguments passed to or from other methods. Not yet implemented. |
A short summary is printed including the area under the covariate-adjusted ROC curve (AAUC) or the area under the pooled ROC curve (AUC), and if required, the partial area under the covariate-adjusted ROC curve (pAAUC). For the Bayesian methods, and if required, the function also provides the log pseudo marginal likelihood (LPML) and/or widely applicable information criterion (WAIC).
AROC.bnp, AROC.bsp, AROC.sp, AROC.kernel, pooledROC.BB or pooledROC.emp.
library(AROC) data(psa) # Select the last measurement newpsa <- psa[!duplicated(psa$id, fromLast = TRUE),] # Log-transform the biomarker newpsa$l_marker1 <- log(newpsa$marker1) m0 <- AROC.bnp(formula.healthy = l_marker1 ~ f(age, K = 0), group = "status", tag.healthy = 0, data = newpsa, scale = TRUE, p = seq(0,1,l=101), compute.lpml = TRUE, compute.WAIC = TRUE, a = 2, b = 0.5, L = 10, nsim = 5000, nburn = 1000) summary(m0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.