R/cor2cov.r

Defines functions cor2cov

cor2cov <- function(R,S){
  diag(S) %*% R %*% diag(S)
}

Try the BayesPIM package in your browser

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

BayesPIM documentation built on April 12, 2025, 1:59 a.m.