dot-accumulated_posix_aware: accumulated function

.accumulated_posix_awareR Documentation

accumulated function

Description

sum for summarise_all aware of POSIX objects

Usage

.accumulated_posix_aware(variable, na.rm = FALSE)

Arguments

variable

the variable as it is passed to the .fixed_metrics function

na.rm

logical to pass to na.rm argument from sum

Value

the sum for any other variables, but the first for POSIXct variables

Examples

sapfluxnetr:::.accumulated_posix_aware(c(50,20))
sapfluxnetr:::.accumulated_posix_aware(c(Sys.time(), Sys.time() -1))


sapfluxnetr documentation built on Feb. 16, 2023, 7:52 p.m.