Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


sts (version 1.3)

printTopWords: A Generic Function to Print Top Words

Description

This is a generic function that prints the top words for each document for low, average, and high levels of sentiment-discourse

Usage

printTopWords(object, n = 10, lowerPercentile = 0.05, upperPercentile = 0.95)

Arguments

object

Model output from sts

n

number of words to print to console for each topic

lowerPercentile

Percentile to calculate a representative negative sentiment document.

upperPercentile

Percentile to calculate a representative positive sentiment document.

See Also

printTopWords.STS for the method.