ponderateMcAggregation: Mcyear aggregation weigthed by wd

View source: R/ponderateMcAggregation.R

ponderateMcAggregationR Documentation

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

Value

Object of class "antaresDataTable".

Examples

## Not run: 
  data <- readAntares(areas = 'all', mcYears = 'all')
  ponderateMcAggregation(data, fun = weighted.mean, w = c(.1, .9))

  

## End(Not run)


antaresRead documentation built on Sept. 13, 2024, 1:12 a.m.