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

View source: R/COBRAPerformance.R

update_cobraperformanceR Documentation

Update COBRAPerformance or COBRAPlot object to the current version of the class format

Description

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

Usage

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

cobradata <- cobradata_example_sval

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

markrobinsonuzh/iCOBRA documentation built on May 4, 2024, 8:46 p.m.