Mcyear aggregation weigthed by wd

ponderateMcAggregation(x, fun = weighted.mean, ...)

Arguments

x

antaresData data import with antaresRead

fun

function function to use

...

args others args pass to fun

Examples

if (FALSE) {
  data <- readAntares(areas = 'all', mcYears = 'all')
  ponderateMcAggregation(data, fun = weighted.mean, w = c(.1, .9))

  
}