Plot Omega Values from Mixture Model Fit
plot_mixture_model_omega.Rd
Generates a plot of the omega values obtained from fitting a mixture model to the data in a bipod
object.
The plot type can be customized to show a histogram, violin plot, or boxplot.
Arguments
- x
A
bipod
object. Must contain a 'fit' field and the 'omega_mixture_model' field in its metadata.- plot_type
A character string specifying the type of plot to generate. Options are "hist" for histogram, "violin" for violin plot, and "boxplot" for boxplot. (default is 'hist')
- color
A character string specifying the color to use for the plot elements. (default is 'maroon')