plotnormmix: plot normal mixtures

View source: R/normmixture.R

plotnormmixR Documentation

plot normal mixtures

Description

plot normal mixtures

Usage

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

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

mvaniterson/bacon documentation built on April 19, 2024, 5:32 p.m.