tv_aggregation {tv}R Documentation

Time-varying aggregation functions

Description

Time-varying aggregation functions

Usage

tv_count(value, ...)

tv_any(value, ...)

tv_lvcf(value, datetime, ...)

tv_ts(datetime, current_time, ...)

tv_min(value, ...)

tv_max(value, ...)

tv_mean(value, ...)

tv_median(value, ...)

tv_sum(value, ...)

Arguments

value

A vector of values

...

Other arguments (not used at this time)

datetime

A datetime

current_time

The current grid row's time

Value

A scalar, indicating the corresponding aggregation over value or datetime.


[Package tv version 2.0.2 Index]