Skip to contents

Plot State Frequencies as a Mosaic Between Two Groups

Usage

# S3 method for class 'group_tna'
plot_mosaic(x, label, ...)

Arguments

x

A group_tna object.

label

An optional character string that can be provided to specify the grouping factor name if x was not constructed using a column name of the original data.

...

Ignored.

Value

A ggplot object.

Examples

model <- group_model(engagement, group = rep(1:3, length.out = 1000))
plot_mosaic(model)