Description Usage Arguments Value
Given a vector or a matrix/data.frame 'x', compute the corresponding
cumulative curve. This function is only a wrapper around
cumsum_interpolate()
with a call to apply()
.
1 | cumulative_curves(x, na.action = "interpolate")
|
x |
numeric vector, data.frame or matrix. a vector (of length m) or a matrix/data.frame (with m rows) |
na.action |
character. a character string indicating whether missing
values should be interpolated or not (see |
A data.frame with 'm' rows containing the cumulative version of 'x'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.