aggregateTime2Days: aggregate Time to Days

View source: R/aggregateTime2Days.R

aggregateTime2DaysR Documentation

aggregate Time to Days

Description

Aggregates a Time vector of POSIX format to Days

Usage

aggregateTime2Days(Time, Data, FUN, Header,...)

Arguments

Time

[1:n] POSIXlt or POSIXct

Data

[1:n,1:d] matrix or dataframe, d can be also 1 , then vector

FUN

aggregation function, e.g. mean or sum

Header

Names of Outputfeatures minus Time column

...

further arguments passed on to FUN

Details

all possible timeframes with higher frequency then days are accepted, aggregation shortcut wrapper

Value

dataframe[1:m,1:(d+1)] with m<n and first column being the time in as.Date format

Author(s)

Michael Thrun

Examples

#to be filled

Mthrun/TSAT documentation built on Feb. 5, 2024, 11:15 p.m.