calculateCooccurrenceMI | R Documentation |
The grouped dataframe here acts as a "Document" from the perpective of the co-occurrence but might be a person. For the cose of co-occurrence we are only interested in the existence of a term in a document and not the counts of either.
calculateCooccurrenceMI( groupedDf, conceptIdVar, filteredIdfDf = NA, bigResult = FALSE )
groupedDf |
a dataframe whose grouping defines the "document" and contains all observations of the terms in that document |
conceptIdVar |
a field that contains the unique id of a "term" |
filteredIdfDf |
an optional data frame containing idf information from this or another corpus. It is recommended that this is a heavily filtered list as the result will be the square of the size of this |
bigResult |
are you expecting a big result? |
a data frame with co-occurrence stats for each concept in filteredIdf (i.e. document)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.