Description Usage Arguments Value Examples
Draw remaining capacity line chart
1  | draw_margins(data_margin, area = "fr", num_week = NULL)
 | 
data_margin | 
 a   | 
area | 
 Name of the area, used in chart title.  | 
num_week | 
 Week number to be displayed in chart title.  | 
a dygraphs htmlwidget.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23  | ## Not run: 
library(antaresRead)
library(antaresWeeklyMargin)
setSimulationPath("path/to/sim")
up <- compute_margins(
  date = "2018-02-28", 
  area = "fr", 
  mcYears = 1:100,
  margin = "upward"
)
# Marges seules
draw_margins(data_margin = up$margin_area_solo, area = "fr")
# Marges interco
draw_margins(data_margin = up$margin_area_inter, area = "fr")
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.