The main function, plot_mm(), is used for plotting output from mixture models, including both densities and overlaying mixture weight component curves from the fit models. In line with the tidyverse, the package also includes the plot_cut_point() function to visualize the cutpoint (mu) from the model over a histogram of the data density with several color options. Finally, the package includes the plot_mix_comps() helper function, which is used for both added customization as well as in the plot_mm() function. Supported model objects include: 'mixtools', 'EMCluster', and 'flexmix', with more from each forthcoming. Supported mixture model specifications include mixtures of univariate Gaussians, multivariate Gaussians, Gammas, logistic regressions, linear regressions, and Poisson regressions.
|Author||Philip Waggoner [aut, cre], Fong Chan [aut, ctb], Lu Zhang [aut, ctb]|
|Maintainer||Philip Waggoner <email@example.com>|
|License||MIT + file LICENSE|
|Package repository||View on CRAN|
Install the latest version of this package by entering the following in R:
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.