View source: R/plot_group_wlos_network.R
plot_group_wlos_network | R Documentation |
Similar to plot_group_terms_network but filtered by WLOs rather than by frequency.
plot_group_wlos_network(
data,
group_var = brand,
text_var = message,
n_terms = 20,
top_frequency_terms = 1500,
with_ties = FALSE
)
data |
Data Frame or Tibble object |
group_var |
The variable you wish to group by - e.g. sentimnet, brand, entity |
text_var |
The text variable |
n_terms |
Number of terms to allow in plot |
top_frequency_terms |
|
with_ties |
Whether to allow for ties or not (possibly selecting more than |
A network visualisation
## Not run:
Example:
df %>%
plot_group_wlos_network(
group_var = sentiment,
text_var = mention_content,
n_terms = 20,
with_ties = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.