Learn R Programming

EmpiricalDynamics (version 0.1.2)

save_plots: Save Diagnostic Plots

Description

Saves all diagnostic plots to files.

Usage

save_plots(
  results,
  output_dir,
  prefix = "empirical_dynamics",
  format = c("png", "pdf"),
  width = 8,
  height = 6,
  dpi = 300
)

Value

List of paths to created files.

Arguments

results

Analysis results list.

output_dir

Output directory (required, no default to comply with CRAN policy).

prefix

File name prefix.

format

Image format: "png", "pdf", "svg".

width

Plot width in inches.

height

Plot height in inches.

dpi

Resolution for raster formats.