Learn R Programming

iCOBRA (version 1.0.2)

basemethods: Accessor function for basemethods

Description

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

Usage

basemethods(x, ...)

## S3 method for class 'COBRAPerformance': basemethods(x)

Arguments

x
An COBRAPerformance or COBRAPlot object.
...
Additional arguments.

Value

  • A character vector of all methods represented in the object.

Examples

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

Run the code above in your browser using DataLab