plotnormmix: plot normal mixtures

Description Usage Arguments Details Value Author(s) Examples

View source: R/normmixture.R

Description

plot normal mixtures

Usage

1
plotnormmix(x, theta, ...)

Arguments

x

vector of test statistics

theta

parameters describing the mixture components

...

arguments passed to hist

Details

details follow

Value

return plot with histogram of the data and mixture and individual components

Author(s)

mvaniterson

Examples

1
2
3
4
n <- 2000
theta <- c(0.8, 0, 1, 0, 4, 1)
x <- rnormmix(n, theta)
plotnormmix(x, theta)

bacon documentation built on Nov. 8, 2020, 4:54 p.m.