Learn R Programming

tna (version 1.5.8)

plot_compare.group_tna: Plot the Difference Network Between Two Groups

Description

Plot the Difference Network Between Two Groups

Usage

# S3 method for group_tna
plot_compare(x, i = NULL, j = NULL, ...)

Value

The difference networks are drawn, and returned invisibly: for one pair of clusters (two clusters, or i and j given), a list with the elements weights and inits (the differences, see plot_compare.tna()); otherwise a named list with such a list for each pair of clusters.

Arguments

x

A group_tna object.

i

An integer index or the name of the principal cluster as a character string. When i and j are both NULL (the default), every pair of clusters is compared.

j

An integer index or the name of the secondary cluster as a character string. See i.

...

Additional arguments passed to cograph::plot_compare().

See Also

Model comparison functions compare(), compare.group_tna(), compare_sequences(), plot.tna_comparison(), plot.tna_sequence_comparison(), plot_compare(), print.tna_comparison(), print.tna_sequence_comparison()

Examples

Run this code
model <- group_model(engagement_mmm)
plot_compare(model)

Run the code above in your browser using DataLab