timeAggregation: Time aggregation

View source: R/aggregateGrid.R

timeAggregationR Documentation

Time aggregation

Description

Aggregate a grid along its time dimension

Usage

timeAggregation(
  grid,
  aggr.type = c("DD", "MM", "YY"),
  aggr.fun,
  parallel,
  max.ncores,
  ncores
)

Arguments

grid

A multimember grid to apply the aggregation

aggr.type

Character string indicating the type of temporal aggregation: daily ("DD"), monthly ("MM") or annual ("YY").

aggr.fun

One of aggr.d, aggr.m or aggr.y arguments, as passed by aggregateGrid

parallel.pars

Arguments defining the parallelization options, as passed by parallelCheck

Author(s)

J. Bedia, M. Iturbide, M. de Felice


SantanderMetGroup/transformeR documentation built on Nov. 25, 2024, 1:25 p.m.