update_cobraperformance: Update 'COBRAPerformance' or 'COBRAPlot' object to the...

Description Usage Arguments Value Author(s) Examples

View source: R/COBRAPerformance.R

Description

Update a COBRAPerformance or COBRAPlot object generated by a previous version of the package to the latest version.

Usage

1
update_cobraperformance(object, quiet = FALSE)

Arguments

object

A COBRAPerformance or COBRAPlot object

quiet

Set to TRUE to disable messages listing the modifications that are applied to the object

Value

An updated COBRAPerformance or COBRAPlot object

Author(s)

Charlotte Soneson

Examples

1
2
3
4
5
6
cobradata <- cobradata_example_sval

cobraperf <- calculate_performance(cobradata, 
                                   binary_truth = "status", 
                                   aspects = "fpr")
cobraperf <- update_cobraperformance(cobraperf)

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