Learn R Programming

tna (version 1.0.0)

plot.group_tna_communities: Plot Detected Communities

Description

Plot Detected Communities

Usage

# S3 method for group_tna_communities
plot(x, title = names(x), colors, ...)

Value

A list (invisibly) of qgraph objects in which the nodes are colored by community for each cluster.

Arguments

x

A group_tna_communities object.

title

A character vector of titles to use for each plot.

colors

A character vector of colors to use.

...

Arguments passed to plot.tna_communities().

See Also

Community detection functions communities(), plot.tna_communities(), print.group_tna_communities(), print.tna_communities()

Examples

Run this code
model <- group_model(engagement_mmm)
comm <- communities(model)
plot(comm)

Run the code above in your browser using DataLab