plotnormmix | R Documentation |
plot normal mixtures
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
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.