plot_fits | R Documentation |
Performs a joint plot in which both the clustering scatter and the
marginal plots are repreoduced. This function uses the plot_2D
and
plot_1D
functions to create all the required plots, and the ellipsis
is used to forward parameters to both functions.
plot_fits(x, ...)
x |
An object of class vb_bmm. |
... |
Extra parameters for |
A figure assembled with ggpubr
.
data(fit_mvbmm_example) plot_fits(fit_mvbmm_example) \donotrun{ require(dplyr) colors_clusters = fit_mvbmm_example$labels %>% unique %>% pull() colors_clusters_samples = ggsci::pal_lancet()(colors_clusters %>% length()) names(colors_clusters_samples) = colors_clusters plot_fits(fit_mvbmm_example, colors = colors_clusters_samples) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.