dot-accumulated_posix_aware: accumulated function

Description Usage Arguments Value Examples

Description

sum for summarise_all aware of POSIX objects

Usage

1
.accumulated_posix_aware(variable, na.rm = FALSE)

Arguments

variable

the variable as it is pased 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

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

sapfluxnetr documentation built on Aug. 28, 2020, 1:13 a.m.