Description Usage Arguments Details Value Author(s) Examples
plot normal mixtures
1 | plotnormmix(x, theta, ...)
|
x |
vector of test statistics |
theta |
parameters describing the mixture components |
... |
arguments passed to hist |
details follow
return plot with histogram of the data and mixture and individual components
mvaniterson
1 2 3 4 | n <- 2000
theta <- c(0.8, 0, 1, 0, 4, 1)
x <- rnormmix(n, theta)
plotnormmix(x, theta)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.