R/2.3.2.1.getDerivVechMatrix.R

Defines functions getDerivVechMatrix

getDerivVechMatrix <- function(derivSigmaThetaList) {
  derivVechMatrix <- sapply(derivSigmaThetaList, function(derivSigmaThetaj) {
    matrix(derivSigmaThetaj[lower.tri(derivSigmaThetaj, diag = TRUE)], ncol = 1)
  })

  return(derivVechMatrix)
}

Try the Mmcsd package in your browser

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

Mmcsd documentation built on March 31, 2023, 7:23 p.m.