Description Usage Arguments Value
Create a co-occurence network
1 2 3 4 | coOccurenceNetwork(x, measure = "cooccurence",
doc.col = getOption("doc.col", "doc_id"),
position.col = getOption("position.col", "position"),
word.col = getOption("word.col", "word"))
|
x |
either a document-term matrix (DTM) or a tokenlist. |
measure |
the measure to calcualte adjacency. Currently supports cosine and conditional probability |
A graph in the Igraph format in which edges represent the adjacency of terms
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.