eval_data-methods: Retrieve the evaluation metrics from a SIAMCAT object

Description Usage Arguments Details Value Examples

Description

Function to retrieve the evaluation metrics from a SIAMCAT object

Usage

1
2
3
4
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

1
2
3
4
data(siamcat_example)
temp <- eval_data(siamcat_example)
names(temp)
temp$auroc

SIAMCAT documentation built on Nov. 8, 2020, 5:14 p.m.