dispatch_strategy: Dispatch Values According to Strategy

View source: R/dispatch_strategy.R

dispatch_strategyR Documentation

Dispatch Values According to Strategy

Description

Returns different values depending on the strategy.

Usage

dispatch_strategy(.strategy, ...)

Arguments

.strategy

Optional strategy name. If not specified it is implicitely added.

...

Values of the parameter named depending on the strategy.

Value

A vector of values.

Examples


define_parameters(
  val = 456,
  x = dispatch_strategy(
    strat_1 = 1234,
    strat_2 = 9876,
    strat_3 = val * 2 + model_time
  )
)

heemod documentation built on May 29, 2024, 8:17 a.m.