This function generates a word co-occurrence network plot, with options to
return a table. This function is used within
tm_cooc(data, stopwords = NULL, seed = 100, return = "plot", lmult = 0.05)
A Meeting Query dataset in the form of a data frame.
A character vector OR a single-column data frame labelled
'word' containing custom stopwords to remove.
A numeric vector to set seed for random generation.
String specifying what to return. This must be one of the following strings:
Value for more information.
A multiplier to adjust the line width in the output plot. Defaults to 0.05.
A different output is returned depending on the value passed to the
"plot": 'ggplot' and 'ggraph' object. A network plot.
"table": data frame. A summary table.
This function uses
tm_clean() as the underlying data wrangling function.
There is an option to remove stopwords by passing a data frame into the