Plots the a tbl_graph object containing ngram counts as a network.
Arguments
- tbl_graph
A tbl_graph object with tibbles for term and ngram frequency.
- emphasis
Whether to emphasise frequent terms and n-grams in the network.
Examples
counts <- count_ngram(
sprinklr_export,
text_var = Message,
n = 2,
top_n = 50
)
viz_ngram(tbl_graph = counts$viz, emphasis = TRUE)