Plots a tbl_graph object containing pairwise correlations as a network.

viz_corr(tbl_graph)

Arguments

tbl_graph

A tbl_graph object with tibbles for nodes and edges.

Value

Network visualisation.

Examples

# Generate correlations
corrs <- calculate_corr(
 sprinklr_export,
 text_var = Message,
 terms = c("#hispanic"),
 min_freq = 20,
 corr_limits = c(0, 1),
 n_corr = 50,
 hashtags = TRUE
 )
#> Using `to_lower = TRUE` with `token = 'tweets'` may not preserve URLs.
 
# Visualise the network
viz_corr(tbl_graph = corrs$viz)