mpa: CoWords method

Description Usage Arguments Details Value Author(s) References Examples

View source: R/mpafunc.R

Description

Performs the CoWords Method

Usage

1
2
3
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.

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.

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.

Author(s)

Daniel Rodriguez dhrodriguezt@unal.edu.co Campo Elias Pardo cepardot@unal.edu.co

References

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

Examples

1
2
3
4
5
#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

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

Related to mpa in mpa...