run_all_configs: Run the model for each config

Description Usage Arguments Value Examples

View source: R/config.R

Description

Simple convenience wrapper for calling run on each config in a list

Usage

1

Arguments

configs

List of config objects

parallel

Logical; if TRUE, run on all cores using parallel package.

Value

A list of data frame model outputs like those returned by run()

Examples

1
2
3
4
5
6
# run two example configs and save results

## Not run: 
outputs <- run_all_configs(list(config_ex_1, config_ex_2))

## End(Not run)

IxPopDyMod documentation built on Feb. 8, 2022, 9:07 a.m.