summarize_one_exp: Summarize the results of one in-set/out-set experiment

Description Usage Arguments Value See Also

View source: R/analyse_utils.R

Description

Summarize the results of one in-set/out-set experiment

Usage

1
summarize_one_exp(one_exp_res, statFUN = mean, na.rm = FALSE)

Arguments

one_exp_res

a list containing two slots: out_estRes containing a named vector of metrics estimated in out-set data, and in_estRes containing a list of data frames where each column corresponds to a metric and each row to a repetition/iteration of an estimator used on in-set data

statFUN

a function to summarize the evaluation metrics. Default is mean

na.rm

whether to remove NAs in function statFUN

Value

A data frame with a first column containing a summary (e.g., the mean) of metrics measured in the out-set data and further columns containing summaries of metrics estimated in the in-set data

See Also

run_one_experiment


mrfoliveira/Evaluation-procedures-for-forecasting-with-spatio-temporal-data documentation built on April 11, 2021, 10:50 a.m.