Skip to contents

Create a Mosaic Plot of Transitions or Events

Usage

plot_mosaic(x, ...)

# S3 method for class 'tna'
plot_mosaic(x, digits = 1, ...)

Arguments

x

A tna or a group_tna object.

...

Ignored.

digits

An integer that determines the number of digits to use for the chi-square test statistic and the p-value in the plot.

Value

A ggplot object.

Examples

ftna_model <- ftna(group_regulation)
plot_mosaic(ftna_model)