matriz.mpa: Calculation of co-occurrences matrix and matrix associations

Description Usage Arguments Details Value Note Author(s) References Examples

View source: R/matrizmpa.R

Description

Calculates the co-occurrences matrix and the matrix associations from the resulting object of the leer.mpa function.

Usage

1
matriz.mpa(leer.mpa, sep.ind="ind0", sep.pal="/", fmin=3, cmin=3)

Arguments

leer.mpa

Resulting vector from the leer.mpa function.

sep.ind

Individuals separator by default is "ind0".

sep.pal

Word separator by default is "/"

fmin

Minimal appearance frequency of key words inside the corpus.

cmin

Minimal co-occurrence between words.

Details

Individuals separator sep.ind must be the same for all individuals in the corpus, just like the sep.pal. The function eliminates key words with lower frequency than fmin and eliminates co-occurrences under cmin.

Value

A list that contains:

Matriza

Associations matrix.

Matrizc

Co-occurrence matrix.

Palabras

Vector from the different words that appears in the corpus (dictionary).

tl

Lexical table

Note

This function uses created steps inside the ttda.segmentation y ttda.forms.frame functions, of the ttda library.

Author(s)

Daniel Rodr\'iguez dhrodriguezt@unal.edu.co

References

Courtial, J.P. (1990), Introduction a la Scientom\'etrie, Anthropos - Econ\'omica, Paris.

Examples

1
2
3
4
5
data(revista)
mat <- matriz.mpa(revista, fmin=3, cmin=1)
mat$Matriza
mat$Matrizc
diag(mat$Matrizc)

mpa documentation built on May 2, 2019, 9:20 a.m.

Related to matriz.mpa in mpa...