select_scenario: Select a scenario from the scenario list by name

View source: R/funcs_scenarios.R

select_scenarioR Documentation

Select a scenario from the scenario list by name

Description

Select a scenario from the scenario list by name

Usage

select_scenario(scenario_list, name)

Arguments

scenario_list

List where each element is a scenario list-object.

name

Character string with the name of the scenario to be selected.

Value

If 'name' is valid, a single scenario list-object. If not, a character string equal to "error: no matching scenario".

Examples

## Not run: 
select_scenario(scenario_list, name = "zero")

## End(Not run)

cath-parkinson/mm.reoptimise documentation built on May 12, 2022, 3:34 p.m.