Compute the whitening matrix from a given covariance matrix
whitening.matrix(
sigma,
method = c("ZCA", "ZCA-cor", "PCA", "PCA-cor", "Cholesky")
)
covariance matrix.
determines the type of whitening transformation.
This function is an internal re-implementation of the function whiteningMatrix
in the whitening
package. See the original documentation to get more details.