dqrmvnorm | R Documentation |
Multivariate Distributions
dqrmvnorm(n, ...)
n |
number of observations |
... |
forwarded to |
numeric matrix of multivariate normal distributed variables
rmvnorm
sigma <- matrix(c(4,2,2,3), ncol=2)
x <- dqrmvnorm(n=500, mean=c(1,2), sigma=sigma)
colMeans(x)
var(x)
plot(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.