Description Usage Arguments Value Author(s) See Also Examples
View source: R/matrix.corpus.mpa.R
Complement for calculating co-ocurrences matrix and association matrix from a text corpus, using internally the function matriz.mpa
from mpa
package.
1 | matrix.corpus.mpa(corpus, fmin = 3, cmin = 3)
|
corpus |
a corpus. |
fmin |
minimum frequency of appearance of key words within the corpus. |
cmin |
minimum match amount between words. |
A list containing:
MatrixA |
Associations matrix. |
MatrixC |
Co-occurrence matrix. |
Words |
Vector from the different words that appears in the corpus (dictionary). |
lt |
Lexical table. |
Andres Palacios anfpalacioscl@unal.edu.co
matriz.mpa
function from mpa is used to obtain the composition of word clusters.
1 2 3 | data("KDCorpus")
mpaWords <- matrix.corpus.mpa(KDCorpus, fmin = 10, cmin = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.