if (FALSE) {
# Data required by the function:
showAliases("surplusSectors")
mydata <- readAntares(select = "surplusSectors")
surplusSectors(mydata)
# Note that if the parameter "sectors" is modified, the function can require
# more or less data. For instance, if one only wants surplus for thermal
# sectors:
mydata <- readAntares(areas = "all", clusters = "all", synthesis = FALSE,
select = "MRG. PRICE")
surplusSectors(mydata, sectors = "thermal")
}
Run the code above in your browser using DataLab