nancumsum | R Documentation |
Finds cumulative sum of non-missing values in an array
nancumsum(x)
x |
Required. An array or vector of numeric values |
Returns an array or vector with cumulative sums of each column.
Kevin Shook. The code is copied from a MATLAB program nancumsum.m written by Alan Barr.
PcpFiltPosTh
a <- nancumsum(BadLake7376[,2])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.