Plot Centrality Measures
# S3 method for group_tna_centralities
plot(
x,
reorder = TRUE,
ncol = 3,
scales = c("free_x", "fixed"),
colors,
labels = TRUE,
...
)A ggplot object displaying a line chart for each centrality
with one line per cluster.
A group_tna_centralities object.
A logical value indicating whether to reorder the values
for each centrality in a descending order. The default is TRUE.
Number of columns to use for the facets. The default is 3.
Either "fixed" or "free_x" (the default). If "free_x",
the horizontal axis is scaled individually in each facet. If "fixed",
the same values are used for all axes.
The colors for each node (default is the model colors
if the tna model object is passed, otherwise "black").
A logical value indicating whether to show the centrality
numeric values. The default is TRUE.
Ignored.
Cluster-related functions
bootstrap(),
centralities(),
cliques(),
communities(),
deprune(),
estimate_cs(),
group_model(),
hist.group_tna(),
mmm_stats(),
plot.group_tna(),
plot.group_tna_cliques(),
plot.group_tna_communities(),
plot.group_tna_stability(),
plot_compare.group_tna(),
plot_mosaic.group_tna(),
plot_mosaic.tna_data(),
print.group_tna(),
print.group_tna_bootstrap(),
print.group_tna_centralities(),
print.group_tna_cliques(),
print.group_tna_communities(),
print.group_tna_stability(),
print.summary.group_tna(),
print.summary.group_tna_bootstrap(),
prune(),
pruning_details(),
rename_groups(),
reprune(),
summary.group_tna(),
summary.group_tna_bootstrap()
model <- group_model(engagement_mmm)
cm <- centralities(model)
plot(cm)
Run the code above in your browser using DataLab