KDSummary: Knowledge domain summary

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/KDSummary.R

Description

Shows the main information about the grouping of words found through mpa method.

Usage

1
KDSummary(matrix.mpa, groupSize = 10, graph = TRUE)

Arguments

matrix.mpa

a list of co-occurrences and associations matrices obtained with matrix.corpus.mpa function.

groupSize

an integer that indicates the desired number of words that should belong to each group (may vary when grouping the words).

graph

logical. If TRUE, the main graph of mpa method will be plotted using diagram.mpa function from mpa package.

Details

groupSize argument corresponds to the size when create the groups, but it can vary according to the level of association and the amount of co-occurrences of the words.

Value

A list containing:

clustTable

a dataframe with the main information of the groups found.

wordClasses

a dataframe with words whose frequency is greater than or equal to that indicated in matrix.mpa argument and an indicator of the group of words to which it belongs.

Author(s)

Andres Palacios anfpalacioscl@unal.edu.co

See Also

mpa function from mpa package provides the grouping of words.

Examples

1
2
3
4
data("KDCorpus")
mpaWords <- matrix.corpus.mpa(KDCorpus, fmin = 10, cmin = 1)

myKDSummary <- KDSummary(matrix.mpa = mpaWords, groupSize = 10)

Example output



KDViz documentation built on May 1, 2019, 6:34 p.m.

Related to KDSummary in KDViz...