powered by
Save all plots to files
save_all_plots( result, prefix = "scm", path = NULL, width = 10, height = 6, dpi = 300, ... )
Character vector of saved file paths, returned invisibly.
Output from run_scm_spillover
File name prefix (default "scm")
Directory to save plots (required, no default)
Plot width in inches (default 10)
Plot height in inches (default 6)
Resolution (default 300)
Additional arguments passed to plotting functions
if (FALSE) { data <- generate_test_data() result <- run_scm_spillover(data, treatment_start = 20) save_all_plots(result, path = tempdir()) }
Run the code above in your browser using DataLab