Returns different values depending on the strategy.
dispatch_strategy(.strategy, ...)
.strategy | Optional strategy name. If not specified it is implicitely added. |
---|---|
... | Values of the parameter named depending on the strategy. |
A vector of values.
define_parameters( val = 456, x = dispatch_strategy( strat_1 = 1234, strat_2 = 9876, strat_3 = val * 2 + markov_cycle ) )#> 2 unevaluated parameters. #> #> val = 456 #> x = dispatch_strategy(strat_1 = 1234, strat_2 = 9876, strat_3 = val * 2 + markov_cycle)