Skip to contents

This function takes the output of summarise_mqo_stats() and writes it to a file. Either short-term or long-term data can be written, or both at once.

Usage

write_mqo_stats(stats, stats2 = NULL, file = "", digits = 2, delim = ";")

Arguments

stats, stats2

The output of summarise_mqo_stats(). All relevant information (e.g., term, params_fixed, etc.) will be passed to this function from the statistics object. stats is compulsory and stats2 optional. If both are provided, stats and stats2 should be different terms (one short and one long). In that case, short-term stats are plotted preferentially but the long-term stats will be annotated if show_annotations = TRUE.

file

Output file name. "" indicates output to the console.

digits

Integer indicating the number of decimal places to be used when rounding numeric values.

delim

The delimiter used to separate columns in the files. The default is ";".

Author

Jack Davison