get_scenario_channels: Get key scenario information: period levels, channel levels...

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

get_scenario_channelsR Documentation

Get key scenario information: period levels, channel levels and channel level groupings

Description

This function takes a scenario object, and a period and returns a list object, where each element of the list is a unique list of channel, period, channel.group.level1, channel.group.level2, channel.group.level3. If a scenario has already been set, then this is based off curves_filtered - i.e. dependent on period and kpi, if not it's based off curves_full

Usage

get_scenario_channels(scenario, user_period)

Arguments

scenario

scenario list-object.

user_period

string specifying the period required for the scenario

Value

named list-object where each element of the list is a unique set of values


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