Learn R Programming

tna (version 1.0.0)

plot_mosaic: Create a Mosaic Plot of Transitions or Events

Description

Create a Mosaic Plot of Transitions or Events

Usage

plot_mosaic(x, ...)

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

Value

A ggplot object.

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.

See Also

Basic functions build_model(), hist.group_tna(), hist.tna(), plot.group_tna(), plot.tna(), plot_frequencies(), plot_frequencies.group_tna(), plot_mosaic.group_tna(), plot_mosaic.tna_data(), print.group_tna(), print.summary.group_tna(), print.summary.tna(), print.tna(), summary.group_tna(), summary.tna(), tna-package

Examples

Run this code
ftna_model <- ftna(group_regulation)
plot_mosaic(ftna_model)

Run the code above in your browser using DataLab