all_feelings: Retrieve the difference between the sum total of positive and...

Description Usage Arguments Value Examples

Description

Retrieve the difference between the sum total of positive and negative words in the thread Ensure you install tm.lexicon.GeneralInquirer for this by running: install.packages("tm.lexicon.GeneralInquirer", repos="http://datacube.wu.ac.at", type="source")

Usage

1
all_feelings(comments)

Arguments

comments

A corpus of all the comments in the thread

Value

the difference between positive and negative comments, where a positive result indicates more positive words and vice-versa

Examples

1
all_feelings(comment_corpus)

DataCub/feelingreddit documentation built on May 6, 2019, 1:39 p.m.