Learn R Programming

bacon (version 1.0.4)

fit: Method to plot mixture fit

Description

Method to plot mixture fit

Usage

fit(object, index = 1, ...)
"fit"(object, index = 1, ...)

Arguments

object
'bacon'-object
index
if multiple sets of test-statsistics where provided
...
additional plotting parameters

Value

plot of the Gibbs Sampler mixture fit

See Also

bacon

Examples

Run this code
y <- rnormmix(2000, c(0.9, 0, 1, 0, 4, 1))
##nbins = 100 to speed up the calculations
bc <- bacon(y, nbins=100)
fit(bc)

Run the code above in your browser using DataLab