View source: R/mvdistributions.R
rmvnorm | R Documentation |
Draw samples from multivariate, correlated normal distribution with counts correlated according to Sigma
rmvnorm(
n = 100,
mu = rep(0, 10),
Sigma = diag(10),
tol = 1e-06,
empirical = TRUE
)
n |
number of samples to draw |
mu |
mean vector for variables (of length |
Sigma |
|
tol |
numerical tolerance for a zero eigenvalue (check for PD of Sigma) |
empirical |
is Sigma the empirical correlation? |
Dxn
matrix with Gaussian data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.