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_shortterm = NULL,
  stats_longterm = NULL,
  file = "",
  digits = 2,
  delim = ";"
)

Arguments

stats_shortterm, stats_longterm

The output of summarise_mqo_stats(). All relevant information (e.g., term, params_fixed, etc.) will be passed to this function. stats_shortterm should contain short-term (temporal) statistics, stats_longterm should contain long-term (spatial) statistics. Either of these can be NULL, but at least one should be provided.

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