plot.pooledROC: Default pooledROC plotting

View source: R/plot.pooledROC.R

plot.pooledROCR Documentation

Default pooledROC plotting

Description

Takes a fitted pooledROC object produced by pooledROC.BB, pooledROC.emp, pooledROC.kernel, or pooledROC.dpm and plots the pooled ROC curve and associated area under the ROC curve (AUC).

Usage

## S3 method for class 'pooledROC'
plot(x, main = NULL, ...)

Arguments

x

An object of class pooledROC as produced by pooledROC.BB, pooledROC.emp, pooledROC.kernel or pooledROC.dpm.

main

Character string with the overall title for the plot. If NULL, the default, the method used to estimate the pooled ROC curve is depicted.

...

Further arguments passed to or from other methods.

See Also

pooledROC.BB, pooledROC.emp, pooledROC.kernel or pooledROC.dpm

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)

m0_emp <- pooledROC.emp(marker = "l_marker1", group = "status",
tag.h = 0, data = newpsa, p = seq(0,1,l=101), B = 500)

summary(m0_emp)

plot(m0_emp)



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