Rdocumentation
powered by
Learn R Programming
IBDhaploRtools (version 1.8)
cumul.sum: cumulative.sums
Description
Calculate cumulative sum
Usage
cumul.sum(x)
Arguments
x
x is a vector
Value
Returns a vector y where y[i]=sum(x[
Examples
Run this code
x =
1
:
10
cumul.sum(x)
Run the code above in your browser using
DataLab