Learn R Programming

mpa (version 0.7.3)

mpa: CoWords method

Description

Performs the CoWords Method

Usage

mpa(E, tmax=7, palabras=NULL) contar.si(x,n) reemplazar.si(x, n, p)

Arguments

E
The matrix of associations between the keywords.
tmax
Maximum size of each group.
palabras
Vector containing the names of each of your keywords.
x
Numeric vector.
n
Scalar.
p
Scalar.

Value

Function mpa creates a list with the next components:
Clases
A vector that identifies the group of which every key word is associated. If a value of 0 drops out means that the keyword in the particular position was not classified
Nombres
The vector which specifies the names of each of the groups.
Resumen
Matrix that contains the size, density and centrality of each group.

Details

mpa function executes the associated words method from the association matrix E, and the maximum group size, tmax. Function contar.si counts the number of times the scalar n appears in a vector n. The function reemplazar.si searches for values equal to n and replaces them with p in a vector x.

References

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

Examples

Run this code
#revista <- leer.mpa("revista.txt",encoding="latin1")
data(revista)
mat <- matriz.mpa(revista, fmin=3, cmin=1)
clas <- mpa(mat$Matriza,10,mat$Palabras)
clas

Run the code above in your browser using DataLab