cumulative_add | R Documentation |
Cumulative functions implemented in a functional style
cumulative_add(x)
cumulative_multiply(x)
cumulative_max(x)
cumulative_min(x)
x |
A numeric vector. |
Functions leveraging map and a function operator.
library(functionalPlayground)
x <- 1:10
cumulative_add(x)
cumulative_multiply(x)
cumulative_max(x)
cumulative_min(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.