basemethods: Accessor function for basemethods

basemethodsR Documentation

Accessor function for basemethods

Description

Accessor function to extract the methods that are represented in an COBRAPerformance or COBRAPlot object.

Usage

basemethods(x, ...)

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

Arguments

x

A COBRAPerformance or COBRAPlot object.

...

Additional arguments.

Value

A character vector of all methods represented in the object.

Author(s)

Charlotte Soneson

Examples

data(cobradata_example)
cobraperf <- calculate_performance(cobradata_example,
                                   binary_truth = "status",
                                   aspects = "fdrtprcurve")
basemethods(cobraperf)

csoneson/iCOBRA documentation built on Nov. 5, 2024, 7:20 p.m.