Description Usage Arguments Details Value
View source: R/horizon_search.R
optimize_piecewise_function
1 | optimize_piecewise_function(r_a_tibble, append_r_pred = F, opt_mode)
|
r_a_tibble |
a tibble specifying release and availability for given water_week and horizon |
append_r_pred |
append preductions of r to input tibble rather than return parameters? |
opt_mode |
set as "two_param" or "four_param" (i.e., with slopes) optimization |
runs the a local optimizer to get piecewise function
optimized parameters of piecewise function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.