add_curves_filtered: Create element with curves selected to optimise over.

View source: R/funcs_set-get-scenario.R

add_curves_filteredR Documentation

Create element with curves selected to optimise over.

Description

This function takes a scenario object, selects the curves that will be used in the optimisation and returns an updated scenario object with this information.

Usage

add_curves_filtered(
  scenario,
  subset_kpi_level1_id,
  subset_kpi_level2_id,
  subset_kpi_level3_id,
  subset_period_level1
)

Arguments

scenario

A named list representing a scenario list-object.

subset_kpi_level1_id

Expects an integer or integer vector.

subset_kpi_level2_id

Expects an integer or integer vector.

subset_kpi_level3_id

Expects an integer or integer vector.

subset_period_level1

Expects a string.

Value

An updated scenario list-object.


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