fit-methods: Method to plot mixture fit

Description Usage Arguments Value See Also Examples

Description

Method to plot mixture fit

Usage

1
2
3
4
5
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

1
2
3
4
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)

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