R/correction.R

Defines functions correction

Documented in correction

correction <-
function(model) { 
  R = EstCM(model)
  S = EmpCM(model)
  A = lapply(1:length(R), function(i) {
    LS = t(chol(S[[i]]))
    LR = t(chol(R[[i]]))
    t(LR %*% solve(LS))
  })
  A
}

Try the qape package in your browser

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

qape documentation built on Aug. 21, 2023, 5:07 p.m.