Plot the mixing proportions of the mixture.

plot_mixing_proportions(x, colors = c(Tail = "gainsboro"))

Arguments

x

An object of class 'dbpmm'.

colors

If provided, these colours will be used for each cluster. If a subset of colours is provided, palette Set1 from RColorBrewer is used. By default the tail colour is provided as 'gainsboro'.

Value

A plot of the mixing proportions of the mixture.

Examples

data(fit_example) plot_mixing_proportions(fit_example$best)