Learn R Programming

KDViz (version 1.3.1)

GroupDTM: Grouping of words with co-word method

Description

Make partitions of an entire document-term matrix depending on the group class of words found using the KDSummary function.

Usage

GroupDTM(dtm, kdSummary)

Arguments

dtm

a document-term matrix.

kdSummary

a list resulting from KDSummary function.

Value

a list of matrices derivative from an entire document-term matrix.

See Also

For more information, see KDSummary.

Examples

Run this code
# NOT RUN {
data("KDCorpus")
data("KDDTM")
mpaWords <- matrix.corpus.mpa(KDCorpus, fmin = 10, cmin = 1)
myKDSummary <- KDSummary(matrix.mpa = mpaWords, groupSize = 10)

myWordGroupDTM <- GroupDTM(dtm = KDDTM, kdSummary = myKDSummary)
# }

Run the code above in your browser using DataLab