powered by
mvngen(mean, cov, nitem)
mvngen(c(0, 0), diag(2), 5) # [,1] [,2] #[1,] -0.09898211 1.4516438 #[2,] 0.20814926 -0.1233861 #[3,] 0.18410071 0.5995621 #[4,] 0.65994562 0.8328315 #[5,] 2.33098055 -0.5943117
Run the code above in your browser using DataLab