aggregateData: Aggregate Data by ID

Description Usage Arguments Value

Description

Aggregate Data by ID

Usage

1
2
aggregateData(data, id = NULL, fun = "mean", save.path = TRUE,
  timestep = 10)

Arguments

data

(data.frame) a data.frame of values to aggregate

id

(character) the coloumn name to aggregate by

fun

(character) the function to use in aggregation (i.e. mean)

save.path

(character) where should a csv be written to?

timestep

(numeric) number of observations to aggregate

Value

a data.frame of aggregated values by id


mikejohnson51/ET documentation built on May 5, 2019, 12:31 p.m.