Description Usage Arguments Value
- 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.
1 | cum.sum(x)
|
x |
- A numerical vector |
- Returns a cumulative sum vector that is more suitable to graphing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.