fit-methods: Method to plot mixture fit

fitR Documentation

Method to plot mixture fit

Description

Method to plot mixture fit

Usage

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

## S4 method for signature 'Bacon'
fit(object, index, col = "grey75", border = "grey75", ...)

Arguments

object

'bacon'-object

index

if multiple sets of test-statsistics where provided

...

additional plotting parameters

col

line color default 'grey75'

border

border color 'grey75'

Value

plot of the Gibbs Sampler mixture fit

See Also

bacon

Examples

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)

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