cumsum_interpolate: Wrapper around the 'cumsum' function where missing values can...

Description Usage Arguments Value

View source: R/utils.R

Description

Wrapper around the cumsum function where missing values can be interpolated.

Usage

1
cumsum_interpolate(x, na.action = "interpolate")

Arguments

x

vector to use to compute cumulated values

na.action

action to undertake when missing values are found (default: 'interpolate', any other value leads to the original cumsum function)

Value

the cumulative sum of x.


IvanHeriver/hsa-R-package documentation built on Dec. 17, 2021, 11:32 p.m.