Description Usage Arguments Value See Also Examples
Random generation for the multivariate normal (also called Gaussian) distribution.
1 |
n |
sample size – number of random vectors of length d to return (as rows in a matrix). |
cov |
covariance or correlation matrix with d rows and columns. |
d |
dimension of the multivariate normal. |
mean |
vector of length d, or matrix with n rows and d columns. |
rho |
scalar, vector, or bdVector of length n, containing correlations for bivariate data. This is ignored if cov is supplied. |
sd |
vector of length d, or matrix with n rows and d columns, containing standard deviations. If supplied, the rows and columns of cov are multiplied by sd. In particular, if cov is a correlation matrix and sd is a vector of standard deviations, the result is a covariance matrix. If sd is a matrix then one row is used for each observation. |
random sample ( rmvnorm) for the multivariate normal distribution.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.