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)


rte-antares-rpackage/antaresRead documentation built on Oct. 18, 2024, 7:49 a.m.