Skip to contents

Run Multiple Scenarios From A Shared Snapshot

Usage

chlaa_run_scenarios_from_snapshot(
  snapshot,
  pars,
  scenarios,
  time,
  n_threads = 1,
  deterministic = FALSE
)

Arguments

snapshot

Snapshot from `chlaa_snapshot_create()`.

pars

Baseline parameter list.

scenarios

List of `chlaa_scenario` objects.

time

Times to simulate to (must be >= snapshot time).

n_threads

Threads for dust2.

deterministic

Deterministic mode (if supported).

Value

Combined scenario simulation data.frame with `scenario` column.