dqrmvnorm {dqrng} | R Documentation |
Multivariate Distributions
Description
Multivariate Distributions
Usage
dqrmvnorm(n, ...)
Arguments
n |
number of observations |
... |
forwarded to |
Value
numeric matrix of multivariate normal distributed variables
See Also
Examples
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)
[Package dqrng version 0.4.1 Index]