Description Usage Arguments Details See Also
Build a cross-dissimilarity table reporting Chi-squared distances from two document-term matrices of the same corpus.
1 | corpusDissimilarity(x, y)
|
x |
a document-term matrix |
y |
a document-term matrix |
This function can be used to build a cross-dissimilarity table from two different variables
of a corpus. It takes two versions of a document-term matrix, aggregated in different ways,
and returns the Chi-squared distance between each combination of the tow matrices' rows. Thus,
the resulting table has rows of x
for rows, and rows of y
for columns.
dissimilarityTableDlg
, DocumentTermMatrix
, dist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.