Description Usage Arguments Details Value Author(s) See Also Examples
Computes the cummulative sum of a vector without propagating NAs
1 | cumsumNA(x)
|
x |
An integer or double vector |
If x
is integer, then integer addition is used. Otherwise, floating
point (double) addition is used. Elements in x
that were NA
will continue
to be NA
, but the NA
will not be propagated.
The vector of cumulative sums.
Landon Sego
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.