Learn R Programming

FSK2R (version 0.2.0)

run_all_simulations: Run every simulation in an FSK object

Description

Runs every simulation defined in the FSK object. This includes the ones originally included in the FSK container, as well as the ones added using set_new_simulation().

Usage

run_all_simulations(
  fsk_object,
  run_visualization = FALSE,
  copy_workspace = FALSE,
  workspace_mode = "all",
  inject_to_global = FALSE
)

Value

A named list with the results of all simulations

Arguments

fsk_object

Instance of FSK2R

run_visualization

Whether to call the visualization script. FALSE by default.

copy_workspace

Whether to copy the simulation workspace to the user's working directory. FALSE by default.

workspace_mode

What to copy when copy_workspace=TRUE. Options: "all" (copy everything), "generated" (copy only files created during simulation), "modified" (copy only files modified during simulation). Default is "all".

inject_to_global

Whether to inject simulation variables into the user's global environment for seamless model chaining. FALSE by default for backward compatibility.