truncNumWords: Truncate the word-occurrence data.frame.

View source: R/inpdfr_PRO_processDF.R

truncNumWordsR Documentation

Truncate the word-occurrence data.frame.

Description

Truncate the word-occurrence data.frame.

Usage

truncNumWords(wordF, maxWords)

Arguments

wordF

The data.frame containing word occurrences.

maxWords

The maximum number of words in the data.frame.

Value

The data.frame containing word occurrences.

Examples

## Not run: 
truncNumWords(wordF = myWordOccurrenceDF, maxWords = 50)

## End(Not run)

frareb/inpdfr documentation built on Aug. 30, 2023, 5:24 a.m.