aggTS: Aggregate timeseries - low level function

Description Usage Arguments Examples

Description

Trim dates and/or aggregate data frame

Usage

1
aggTS(dataIn, timestep, FUN, pullAgg)

Arguments

dataIn

data frame object

timestep

standardise (aggregate) to a common timestep (numeric, in mins, to turn aggregation on) !!

FUN

aggregation method; mean, median, sum, min, max, or circular (for averaging direction measurements in degrees)

pullAgg

aggregate data from before/on new timestamp ('left'; default), either side of timestamp ('centre'), or on/after timestamp ('right')

Examples

1
stdDF <- rB3stdze(rB3in = rawDF, varNames = wqVars, metaD = metaD, startDate = '2016-07-01 00:00:00', endDate = '2018-06-30 23:45:00', doAgg = TRUE, methodAgg = ctrls$methodAgg, pullAgg = ctrls$pullAgg)

kohjim/rB3 documentation built on May 10, 2019, 9:51 a.m.

Related to aggTS in kohjim/rB3...