cusum.transform {InspectChangepoint} | R Documentation |
CUSUM transformation
Description
Performing CUSUM transformation to the input matrix of multivariate time series. If the input is a vector, it is treated as a matrix of one row.
Usage
cusum.transform(x)
Arguments
x |
input matrix |
Details
For any integers p and n, the CUSUM transformation is defined by
Value
The transformed matrix is returned. Note that the returned matrix has the same number of rows but one fewer columns compared with the input matrix.
Examples
x <- matrix(rnorm(20),4,5)
cusum.transform(x)
[Package InspectChangepoint version 1.2 Index]