optimize_piecewise_function: optimize_piecewise_function

Description Usage Arguments Details Value

View source: R/horizon_search.R

Description

optimize_piecewise_function

Usage

1
optimize_piecewise_function(r_a_tibble, append_r_pred = F, opt_mode)

Arguments

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

Details

runs the a local optimizer to get piecewise function

Value

optimized parameters of piecewise function


IMMM-SFA/horizon documentation built on Oct. 30, 2020, 11:20 a.m.