fpc: Accessor and replacement functions for 'fpc' slot

Description Usage Arguments Value Author(s) Examples

Description

Accessor and replacement functions for the fpc slot in a COBRAPerformance or COBRAPlot object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
fpc(x, ...)

fpc(x, ...) <- value

## S4 method for signature 'COBRAPerformance'
fpc(x)

## S4 replacement method for signature 'COBRAPerformance,data.frame'
fpc(x) <- value

## S4 replacement method for signature 'COBRAPlot,data.frame'
fpc(x) <- value

Arguments

x

A COBRAPerformance or COBRAPlot object.

...

Additional arguments.

value

A data frame giving information necessary to generate false positive curves for each method and each stratification level.

Value

The accessor function returns a data frame giving information necessary to generate false positive curves for each method and each stratification level.

Author(s)

Charlotte Soneson

Examples

1
2
3
4
data(cobradata_example)
cobraperf <- calculate_performance(cobradata_example,
                                   binary_truth = "status", aspects = "fpc")
head(fpc(cobraperf))

iCOBRA documentation built on April 17, 2021, 6:07 p.m.