Description Usage Arguments Value Author(s) Examples
Creates a random sample from a normal mixture distribution with two components.
1 | rmix(n, mu1, s1, mu2, s2, p1)
|
n |
size of random sample |
mu1 |
mean of first component |
s1 |
standard deviation of first component |
mu2 |
mean of second component |
s2 |
standard deviation of second component |
p1 |
proportion of values in the first component |
A vector of n numeric values from a sample mixture distribution.
Michelle Winerip, Garrick Wallstrom, Joshua LaBaer
1 | rmix(30,5,1,10,1.2,.95)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.