reward_offset | R Documentation |
Get_Reward
Modify local reward to take into account overall cost of the simulation, mainly used in Get_Reward
reward_offset(
opts,
df_reward,
u0 = c(),
mcyears,
district_cost = "water values district",
fictive_areas = NULL,
expansion = F
)
opts |
List of simulation parameters returned by the function
|
df_reward |
data.table computed by the function |
u0 |
data.table week,u Constraint values per week used in the simulation, empty list if none |
mcyears |
Vector of years used to evaluate rewards |
district_cost |
Name of district used to evaluate overall cost |
fictive_areas |
Vector of chr. Fictive areas used in simulation |
expansion |
Binary. True if mode expansion was used to run simulations |
a data.table mcYear,week,u,reward
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.