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
package - Creating wordclouds with the
wordcloud
package - Performing 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()
function - Exploring time series forecasting with
forecast()
- Tracking stock movements using the
quantmode
package - Optimizing portfolio composition and maximizing returns with the Portfolio Analytics package
- Forecasting the stock market