Description Usage Arguments Value
An Rcpp implementation of cumsum that quietly discards
NAs. If an NA is encountered, the previous value is assumed. Also note
that the first value in x should not be NA.
1 | Cumsum(x)
|
x |
a numeric vector containing the values to be cumulatively summed. |
A vector of length(x).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.