realSumRes2Tab: Transform a multi-level list of summarized results into a...

Description Usage Arguments Value

View source: R/analyse_utils.R

Description

Transform a multi-level list of summarized results into a table

Usage

1
realSumRes2Tab(sumRes, statFUN = mean, na.rm = FALSE)

Arguments

sumRes

A multi-level list of summarized results where the first level corresponds to learning model used in the experiment, the second level contains results for each data set

statFUN

a function to summarize the evaluation metrics. Default is mean

na.rm

whether to remove NAs in function statFUN

Value

A data frame containing columns identifying the learning model, data set "gold standard"/"real" error/ (that of the out-set), name of error estimator and estimated error (on the in-set), in long format


mrfoliveira/STEvaluation-MDPI2021 documentation built on Dec. 21, 2021, 10:07 p.m.