psi_cumsum | R Documentation |
Computes the cumulative sum of a transformed numeric vector or matrix. Transformation function is psi
.
psi_cumsum(y, fun = "HLm", k, constant)
y |
numeric vector containing a single time series or a numeric matrix containing multiple time series (column-wise). |
fun |
character string specifying the transformation function |
k |
numeric bound used in |
constant |
scale factor of the MAD. Default is 1.4826. |
Prior to computing the sums, y is being transformed by the function fun
.
Numeric vector or matrix containing the cumulative sums of the transformed values. In case of a matrix, cumulative sums are being computed for each time series (column) independently.
Sheila Görz
psi
.
psi_cumsum(rnorm(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.