mv_norm {MendelianRandomization} | R Documentation |
Sampling from multivariate normal distribution
mv_norm(n, mu, Sigma)
n |
Number of draws. |
mu |
Mean vector. |
Sigma |
Covariance matrix. |
None.
Random vector of length n.
mv_norm(1, 0.2, matrix(0.1))