update_cobraperformance {iCOBRA} | R 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)

[Package iCOBRA version 1.14.0 Index]