fpr | R Documentation |
fpr
slotAccessor and replacement functions for the fpr
slot in a
COBRAPerformance
or COBRAPlot
object.
fpr(x, ...)
fpr(x, ...) <- value
## S4 method for signature 'COBRAPerformance'
fpr(x)
## S4 replacement method for signature 'COBRAPerformance,data.frame'
fpr(x) <- value
## S4 replacement method for signature 'COBRAPlot,data.frame'
fpr(x) <- value
x |
A |
... |
Additional arguments. |
value |
A data frame giving information about the observed FPR for each method and each stratification level, at various adjusted p-value thresholds. |
The accessor function returns a data frame giving information about the observed FPR for each method and each stratification level, at various adjusted p-value thresholds.
Charlotte Soneson
data(cobradata_example)
cobraperf <- calculate_performance(cobradata_example,
binary_truth = "status", aspects = "fpr")
head(fpr(cobraperf))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.