R/whiten.R

Defines functions whiten

whiten <-
function(x){
  sweep(x, 2, colMeans(x), '-')%*%symmetricPower_C(cov(x), -0.5)
}

Try the ICtest package in your browser

Any scripts or data that you put into this service are public.

ICtest documentation built on May 18, 2022, 9:05 a.m.