Tidy Tools for Visualizing Mixture Models

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.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("plotmm")

0.1.0 by Philip Waggoner, 4 months ago


Report a bug at https://github.com/pdwaggoner/plotmm/issues


Browse source code at https://github.com/cran/plotmm


Authors: Philip Waggoner [aut, cre] , Fong Chan [aut, ctb] , Lu Zhang [aut, ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports methods, wesanderson, amerika, ggplot2, dplyr, patchwork

Suggests mixtools, EMCluster, flexmix, testthat, graphics


See at CRAN