View source: R/funcs_run-optimization.R
run_optimization | R Documentation |
This function takes a prepared scenario object, and runs the optimization algorithm,
to get the final results.The results are appeneded to the scenario object,
plus 4 key columns are populated in curves_full optim_spend
,
response_at_optim
, same_units
and net_response_at_optim
run_optimization(scenario, constant = NULL)
scenario |
A named list representing a scenario list-object. |
constant |
Possibility to change the constant used. |
An updated scenario list-object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.