Home Page Icon
Home Page
Table of Contents for
RStudio for R Statistical Computing Cookbook
Close
RStudio for R Statistical Computing Cookbook
by Andrea Cirillo
RStudio for R Statistical Computing Cookbook
RStudio for R Statistical Computing Cookbook
Table of Contents
RStudio for R Statistical Computing Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why Subscribe?
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Acquiring Data for Your Project
Introduction
Acquiring data from the Web – web scraping tasks
Getting ready
How to do it...
There's more...
Accessing an API with R
Getting ready
How to do it…
How it works...
There's more...
Getting data from Twitter with the twitteR package
Getting ready
How to do it…
There's more...
Getting data from Facebook with the Rfacebook package
Getting ready
How to do it...
Getting data from Google Analytics
Getting ready
How to do it...
There's more...
Loading your data into R with rio packages
Getting ready
How to do it...
How it works...
There's more...
Converting file formats using the rio package
Getting ready
How to do it...
There's more...
2. Preparing for Analysis – Data Cleansing and Manipulation
Introduction
Getting a sense of your data structure with R
Getting ready
How to do it...
How it works...
Preparing your data for analysis with the tidyr package
Getting ready
How to do it...
How it works...
There's more...
Detecting and removing missing values
Getting ready
How to do it...
How it works...
There's more...
Substituting missing values using the mice package
Getting ready
How to do it...
How it works...
There's more...
Detecting and removing outliers
How to do it...
How it works...
Performing data filtering activities
Getting ready
How to do it…
How it works...
3. Basic Visualization Techniques
Introduction
Looking at your data using the plot() function
Getting ready
How to do it...
How it works...
Using pairs.panel() to look at (visualize) correlations between variables
Getting ready
How to do it...
How it works…
There's more…
Adding text to a ggplot2 plot at a custom location
Getting ready
How to do it...
How it works…
There's more…
Changing axes appearance to ggplot2 plot (continous axes)
Getting ready
How to do it...
Producing a matrix of graphs with ggplot2
Getting ready
How to do it...
How it works…
Drawing a route on a map with ggmap
Getting ready
How to do it...
How it works…
See also
Making use of the igraph package to draw a network
Getting ready
How to do it...
How it works…
Showing communities in a network with the linkcomm package
Getting ready
How to do it…
How it works…
4. Advanced and Interactive Visualization
Introduction
Producing a Sankey diagram with the networkD3 package
Getting ready
How to do it...
How it works...
Creating a dynamic force network with the visNetwork package
Getting ready
How to do it...
How it works...
There's more...
Building a rotating 3D graph and exporting it as a GIF
Getting ready
How to do it...
Using the DiagrammeR package to produce a process flow diagram in RStudio
Getting ready
How to do it...
5. Power Programming with R
Introduction
Writing modular code in RStudio
Getting ready
How to do it...
How it works...
Implementing parallel computation in R
Getting ready
How to do it...
How it works...
There's more...
Creating custom objects and methods in R using the S3 system
How to do it...
How it works...
Evaluating your code performance using the profvis package
Getting ready
How to do it...
Comparing an alternative function's performance using the microbenchmarking package
Getting ready
How to do it...
Using GitHub with RStudio
Getting ready
How to do it...
There's more...
6. Domain-specific Applications
Introduction
Dealing with regular expressions
How to do it...
Analyzing PDF reports in a folder with the tm package
Getting ready
How to do it...
How it works...
Creating word clouds with the wordcloud package
Getting ready
How to do it...
How it works...
Performing a Twitter sentiment analysis
Getting ready
How to do it...
How it works...
Detecting fraud in e-commerce orders with Benford's law
Getting ready
How to do it...
How it works...
Measuring customer retention using cohort analysis in R
Getting ready
How to do it...
How it works...
Making a recommendation engine
Getting ready
How to do it...
Performing time series decomposition using the stl() function
Getting ready
How to do it...
Exploring time series forecasting with forecast()
Getting ready
How to do it...
Tracking stock movements using the quantmod package
Getting ready
How to do it...
Optimizing portfolio composition and maximising returns with the Portfolio Analytics package
Getting ready
How to do it...
Forecasting the stock market
Getting ready
How to do it...
7. Developing Static Reports
Introduction
Using one markup language for all types of documents – rmarkdown
Getting ready
How to do it...
How it works...
There’s more...
Writing and styling PDF documents with RStudio
Getting ready
How to do it...
There’s more...
Writing wonderful tufte handouts with the tufte package and rmarkdown
Getting ready
How to do it...
There’s more...
Sharing your code and plots with slides
How to do it...
Curating a blog through RStudio
Getting ready
How to do it...
8. Dynamic Reporting and Web Application Development
Introduction
Generating dynamic parametrized reports with R Markdown
Getting ready
How to do it...
How it works…
There's more…
Developing a single-file Shiny app
Getting ready
How to do it…
How it works…
See also
Changing a Shiny app UI based on user input
Getting ready
How to do it...
See also
Creating an interactive report with Shiny
How to do it…
How it works...
See also
Constructing RStudio add-ins
Getting ready
How to do it...
There's more…
Sharing your work on RPubs
Getting ready
How to do it...
There's more…
Deploying your app on Amazon AWS with ramazon
Getting ready
How to do it...
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Table of Contents
Next
Next Chapter
RStudio for R Statistical Computing Cookbook
RStudio for R Statistical Computing Cookbook
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset