eval_data {SIAMCAT}R Documentation

Retrieve the evaluation metrics from a SIAMCAT object

Description

Function to retrieve the evaluation metrics from a SIAMCAT object

Usage

eval_data(siamcat, verbose=1)

## S4 method for signature 'siamcat'
eval_data(siamcat, verbose = 1)

Arguments

siamcat

(Required). A siamcat-class object that contains evaluation data

verbose

integer, if the slot is empty, should a message be printed? values can be either 0 (no output) or 1 (print message)

Details

The functions returns a list containing the evaluation metrics from a SIAMCAT object. See evaluate.predictions for more information on evaluation data.

Value

The list of evaluation data or NULL

Examples

data(siamcat_example)
temp <- eval_data(siamcat_example)
names(temp)
temp$auroc

[Package SIAMCAT version 1.4.0 Index]