aggregate_timeseries: Aggregate multiple timeseries columns to a single one

View source: R/timeseries.R

aggregate_timeseriesR Documentation

Aggregate multiple timeseries columns to a single one

Description

The first column datetime will be kept.

Usage

aggregate_timeseries(df, varname, omit = NULL)

Arguments

df

data.frame or tibble, first column of name datetime being of class datetime and rest of columns being numeric

varname

character, name of the aggregation column

omit

character, name of columns to not aggregate

Value

tibble


mcanigueral/dutils documentation built on Jan. 25, 2024, 3:34 p.m.