dmixnorm | R Documentation |
Density for univariate and multivariate mixture normal distribution
dmixnorm(x, means, sigmas, weights, log = FALSE)
means |
A 'q-by-k' matrix. Mean value vector within each component in total k components. |
sigmas |
A 'q-by-q-by-k' array. Variance covariance matrix with in each component. |
weights |
A 'k'-length vector. The weight in each component. |
n |
An positive integer. Numbers of samples to be generated. |
Density from mixture of normals.
An 'n-by-q' matrix
Feng Li, Central University of Finance and Economics.
Villani et al 2009
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.