cum.sum: cum.sum

Description Usage Arguments Value

Description

- A better cumulative summing function. This one ignores NA/Inf values in the cumulative sum's history, but also returns NA for the values that are explicitly NA/Inf. The result noticeable graphically - Troublesome values are treated as missing, but the missing value itself does not cause a problem when computing the prior history.

Usage

1

Arguments

x

- A numerical vector

Value

- Returns a cumulative sum vector that is more suitable to graphing.


christiantillich/AnaliTools documentation built on May 13, 2019, 6:59 p.m.