This function allows to generate sample from a mixture of normals
1 |
n |
number of samples |
weights |
weights on each mixture component |
means |
centers of mixture components |
tau2 |
variances of mixture components |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.