Learn R Programming

edgar (version 1.0.4)

PositiveWordcloud: Creates wordcloud of positive words from 10-K statement.

Description

PositiveWordcloud creates the wordcloud of positive words from 10-K statement.

Usage

PositiveWordcloud(word.frq)

Arguments

word.frq
Word frequency dataframe created using GetWordfrquency function.

Value

Function creates wordcloud of positive words containing in the selected 10-K statement.

Details

PositiveWordcloud function takes words frequency dataframe as an input from GetWordfrquency function. It compares the words frequency dataframe with the positive words mentioned in the Loughran and McDonald's financial sentiment dictionaries and generates wordcloud using only positive words with their frequencies.

References

Loughran and McDonald's financial Sentiment dictionaries http://www3.nd.edu/~mcdonald/Word_Lists.html

Bill McDonald, and Tim Loughran. Measuring Readability in Financial Disclosures. Journal of Finance: Volume 69, Issue 4, August 2014

Bill McDonald, and Tim Loughran. When Is a Liability Not a Liability? Textual Analysis, Dictionaries, and 10-Ks. Journal of Finance: Volume 66, Issue 1, February 2011

Examples

Run this code
## Not run: 
# 
# PositiveWordcloud(word.frq)
# ## End(Not run)

Run the code above in your browser using DataLab