Turn a document term matrix, whose rows index documents and
whose columns index terms, into a term co-occurrence matrix. A term co-occurrence
matrix's rows and columns both index terms. See
A document term matrix, generally of class
Returns a square
dgCMatrix whose rows and columns both index
terms. The i, j entries of this matrix represent the count of term j across
documents containing term i. Note that, while square, this matrix is not
1 2 3
Loading required package: Matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.