R/rMVN.r

Defines functions rMVN

Documented in rMVN

rMVN <- function(n, mean, sigma) {
            L  <- mroot(sigma)
            lL <- ncol(L)
            t(mean + L%*%matrix(rnorm(lL*n), lL, n)) 
}

Try the SemiParBIVProbit package in your browser

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

SemiParBIVProbit documentation built on June 20, 2017, 9:03 a.m.