Description Usage Arguments Details Value Author(s) See Also Examples
Fast simulation from and evaluation of multivariate Gaussian probability densities.
1 2 3 |
x |
A |
mu |
The mean vector of dimension |
sigma |
The variance-covariance matrix of dimension |
n |
The number of observations to be simulated. |
dmvnormal functions similarly to dmvnorm from the
mvtnorm-package and likewise for rmvnormal and
rmvnorm.
dmvnormal returns a 1 by p matrix of the
probability densities corresponding to each row of x.
sigma. Each row corresponds to an observation.
rmvnormal returns a p by k matrix of
observations from a multivariate normal distribution with the given mean
mu and covariance
Anders Ellern Bilgrau
dmvnorm and rmvnorm in the mvtnorm-package.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.