Learn R Programming

KDViz (version 1.3.1)

TermFrequency: Table of word frequencies inside a text corpus or a document-term matrix

Description

Function to see the total frecuencies of terms inside a text corpus or a document-term matrix object.

Usage

TermFrequency(x)

Arguments

x

a VCorpus, Corpus or DocumentTermMatrix.

Value

a dataframe containing a list of words and its frecuencies inside a text corpus or a document-term matrix.

Examples

Run this code
# NOT RUN {
data("KDCorpus")

termFreqTable <- TermFrequency(KDCorpus)
head(termFreqTable, 100)
# }

Run the code above in your browser using DataLab