Chapter 6. Domain-specific Applications
In this chapter, we will cover the following topics:
Dealing with regular expressions
Analyzing PDF reports in a folder with the
tm
packageCreating wordclouds with the
wordcloud
packagePerforming a Twitter sentiment analysis
Detecting fraud in e-commerce orders with Benford's law
Measuring customer retention using cohort analysis in R
Making a recommendation engine
Performing time series decomposition using the
stl()
functionExploring time series forecasting with
forecast()
Tracking stock movements using the
quantmode
packageOptimizing portfolio composition and maximizing returns with the Portfolio Analytics package
Forecasting the stock market