plotmm: 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.

Getting started

Package details

AuthorPhilip Waggoner [aut, cre], Fong Chan [aut, ctb], Lu Zhang [aut, ctb]
MaintainerPhilip Waggoner <>
LicenseMIT + file LICENSE
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the plotmm package in your browser

Any scripts or data that you put into this service are public.

plotmm documentation built on July 10, 2020, 9:06 a.m.