plot_1D: Plot the clustering assignments for marginal data.

View source: R/plot_1D.R

plot_1DR Documentation

Plot the clustering assignments for marginal data.

Description

Plot a histogram of successes over trials, coloured by clustering assignments and with a facet for each sample.

Usage

plot_1D(x, colors = NA)

Arguments

x

An object of class vb_bmm.

colors

Optional vector of colors, default (NA) are ggplot colors.

Value

A ggplot object

Examples

data(fit_mvbmm_example)

plot_1D(fit_mvbmm_example)

caravagn/VIBER documentation built on July 16, 2022, 1:23 a.m.