Description Usage Arguments Value
to_simulate contains pair (mc_year, week) with their weight the weight is between zero and one : - a null weight implies that the pair (mc_year, week) shouldn't be simulated in the next benders iteration - a weight equal to 1 implies that the pair is particularly relevant and should be simulated in the next benders iteration
this function therefore choses a mc_years list and a weeks list which covers most of the weeks with strictly positive weight, but not too many weeks with a weight equal to zero
1 | convert(to_simulate, mc_years, weeks)
|
to_simulate |
data.frame with week, year and weight column |
mc_years |
all mc_years of the study |
weeks |
all weeks of the study |
return a list of output containing the playlist of mc years (out$mc_years) and the playlist of weeks (out$weeks)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.