Description Usage Arguments Value
Generate data from a mixture of normals with diagonal structure
1 | samplemixDiag(N, weights, mean, cov)
|
N |
The number of points to be generated |
weights |
A vector of weights for each mixture component |
mean |
A list containing the means of each component |
cov |
A list of covariance as a vector for each component |
A list returning the weights, the sampled values and the component allocations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.