Learn R Programming

antaresRead (version 2.2.7)

ponderateMcAggregation: Mcyear aggregation weigthed by wd

Description

Mcyear aggregation weigthed by wd

Usage

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

Arguments

x

antaresData data import with antaresRead

fun

function function to use

...

args others args pass to fun

Examples

Run this code
# NOT RUN {
  data <- readAntares(areas = 'all', mcYears = 'all')
  ponderateMcAggregation(data, fun = weighted.mean, w = c(.1, .9))

  
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab