powered by
Exports analysis results to Excel and/or CSV format.
export_results(results, output_dir, format = "xlsx", verbose = TRUE)
Invisible path to output directory.
Named list containing analysis results. Expected components include: hurdle, te, te_by_type (list with counts/rates/binary), placebo, tvarstar, varx, eba, dbn_arcs, hmm, sensemakr_I, sensemakr_C, oos, ate.
Directory path for output files. Created if it does not exist.
Character; output format. One of "xlsx", "csv", or "both".
Logical; if TRUE, print progress messages.
# \donttest{ results <- list( hurdle = data.frame(model = "test", elpd = -100), te = data.frame(dir = "I->C", stat = 0.5, p_value = 0.01) ) export_results(results, tempdir(), format = "both") # }
Run the code above in your browser using DataLab