RStudio for R Statistical Computing Cookbook

Over 50 practical and useful recipes to help you perform data analysis with R by unleashing every native RStudio feature
Preview in Mapt

RStudio for R Statistical Computing Cookbook

Andrea Cirillo

1 customer reviews
Over 50 practical and useful recipes to help you perform data analysis with R by unleashing every native RStudio feature
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


RStudio for R Statistical Computing Cookbook Book Cover
RStudio for R Statistical Computing Cookbook
$ 35.99
$ 25.20
Robot Operating System Cookbook Book Cover
Robot Operating System Cookbook
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $40.98
Add to Cart

Book Details

ISBN 139781784391034
Paperback246 pages

Book Description

The requirement of handling complex datasets, performing unprecedented statistical analysis, and providing real-time visualizations to businesses has concerned statisticians and analysts across the globe. RStudio is a useful and powerful tool for statistical analysis that harnesses the power of R for computational statistics, visualization, and data science, in an integrated development environment.

This book is a collection of recipes that will help you learn and understand RStudio features so that you can effectively perform statistical analysis and reporting, code editing, and R development. The first few chapters will teach you how to set up your own data analysis project in RStudio, acquire data from different data sources, and manipulate and clean data for analysis and visualization purposes. You'll get hands-on with various data visualization methods using ggplot2, and you will create interactive and multidimensional visualizations with D3.js. Additional recipes will help you optimize your code; implement various statistical models to manage large datasets; perform text analysis and predictive analysis; and master time series analysis, machine learning, forecasting; and so on. In the final few chapters, you'll learn how to create reports from your analytical application with the full range of static and dynamic reporting tools that are available in RStudio so that you can effectively communicate results and even transform them into interactive web applications.

Table of Contents

Chapter 1: Acquiring Data for Your Project
Introduction
Acquiring data from the Web – web scraping tasks
Accessing an API with R
Getting data from Twitter with the twitteR package
Getting data from Facebook with the Rfacebook package
Getting data from Google Analytics
Loading your data into R with rio packages
Converting file formats using the rio package
Chapter 2: Preparing for Analysis – Data Cleansing and Manipulation
Introduction
Getting a sense of your data structure with R
Preparing your data for analysis with the tidyr package
Detecting and removing missing values
Substituting missing values using the mice package
Detecting and removing outliers
Performing data filtering activities
Chapter 3: Basic Visualization Techniques
Introduction
Looking at your data using the plot() function
Using pairs.panel() to look at (visualize) correlations between variables
Adding text to a ggplot2 plot at a custom location
Changing axes appearance to ggplot2 plot (continous axes)
Producing a matrix of graphs with ggplot2
Drawing a route on a map with ggmap
Making use of the igraph package to draw a network
Showing communities in a network with the linkcomm package
Chapter 4: Advanced and Interactive Visualization
Introduction
Producing a Sankey diagram with the networkD3 package
Creating a dynamic force network with the visNetwork package
Building a rotating 3D graph and exporting it as a GIF
Using the DiagrammeR package to produce a process flow diagram in RStudio
Chapter 5: Power Programming with R
Introduction
Writing modular code in RStudio
Implementing parallel computation in R
Creating custom objects and methods in R using the S3 system
Evaluating your code performance using the profvis package
Comparing an alternative function's performance using the microbenchmarking package
Using GitHub with RStudio
Chapter 6: Domain-specific Applications
Introduction
Dealing with regular expressions
Analyzing PDF reports in a folder with the tm package
Creating word clouds 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 quantmod package
Optimizing portfolio composition and maximising returns with the Portfolio Analytics package
Forecasting the stock market
Chapter 7: Developing Static Reports
Introduction
Using one markup language for all types of documents – rmarkdown
Writing and styling PDF documents with RStudio
Writing wonderful tufte handouts with the tufte package and rmarkdown
Sharing your code and plots with slides
Curating a blog through RStudio
Chapter 8: Dynamic Reporting and Web Application Development
Introduction
Generating dynamic parametrized reports with R Markdown
Developing a single-file Shiny app
Changing a Shiny app UI based on user input
Creating an interactive report with Shiny
Constructing RStudio add-ins
Sharing your work on RPubs
Deploying your app on Amazon AWS with ramazon

What You Will Learn

  • Familiarize yourself with the latest advanced R console features
  • Create advanced and interactive graphics
  • Manage your R project and project files effectively
  • Perform reproducible statistical analyses in your R projects
  • Use RStudio to design predictive models for a specific domain-based application
  • Use RStudio to effectively communicate your analyses results and even publish them to a blog
  • Put yourself on the frontiers of data science and data monetization in R with all the tools that are needed to effectively communicate your results and even transform your work into a data product

Authors

Table of Contents

Chapter 1: Acquiring Data for Your Project
Introduction
Acquiring data from the Web – web scraping tasks
Accessing an API with R
Getting data from Twitter with the twitteR package
Getting data from Facebook with the Rfacebook package
Getting data from Google Analytics
Loading your data into R with rio packages
Converting file formats using the rio package
Chapter 2: Preparing for Analysis – Data Cleansing and Manipulation
Introduction
Getting a sense of your data structure with R
Preparing your data for analysis with the tidyr package
Detecting and removing missing values
Substituting missing values using the mice package
Detecting and removing outliers
Performing data filtering activities
Chapter 3: Basic Visualization Techniques
Introduction
Looking at your data using the plot() function
Using pairs.panel() to look at (visualize) correlations between variables
Adding text to a ggplot2 plot at a custom location
Changing axes appearance to ggplot2 plot (continous axes)
Producing a matrix of graphs with ggplot2
Drawing a route on a map with ggmap
Making use of the igraph package to draw a network
Showing communities in a network with the linkcomm package
Chapter 4: Advanced and Interactive Visualization
Introduction
Producing a Sankey diagram with the networkD3 package
Creating a dynamic force network with the visNetwork package
Building a rotating 3D graph and exporting it as a GIF
Using the DiagrammeR package to produce a process flow diagram in RStudio
Chapter 5: Power Programming with R
Introduction
Writing modular code in RStudio
Implementing parallel computation in R
Creating custom objects and methods in R using the S3 system
Evaluating your code performance using the profvis package
Comparing an alternative function's performance using the microbenchmarking package
Using GitHub with RStudio
Chapter 6: Domain-specific Applications
Introduction
Dealing with regular expressions
Analyzing PDF reports in a folder with the tm package
Creating word clouds 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 quantmod package
Optimizing portfolio composition and maximising returns with the Portfolio Analytics package
Forecasting the stock market
Chapter 7: Developing Static Reports
Introduction
Using one markup language for all types of documents – rmarkdown
Writing and styling PDF documents with RStudio
Writing wonderful tufte handouts with the tufte package and rmarkdown
Sharing your code and plots with slides
Curating a blog through RStudio
Chapter 8: Dynamic Reporting and Web Application Development
Introduction
Generating dynamic parametrized reports with R Markdown
Developing a single-file Shiny app
Changing a Shiny app UI based on user input
Creating an interactive report with Shiny
Constructing RStudio add-ins
Sharing your work on RPubs
Deploying your app on Amazon AWS with ramazon

Book Details

ISBN 139781784391034
Paperback246 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Learning R Programming Book Cover
Learning R Programming
$ 35.99
$ 25.20
Introduction to R for Business Intelligence Book Cover
Introduction to R for Business Intelligence
$ 27.99
$ 19.60
R Deep Learning Essentials Book Cover
R Deep Learning Essentials
$ 39.99
$ 28.00
Learning Probabilistic Graphical Models in R Book Cover
Learning Probabilistic Graphical Models in R
$ 27.99
$ 19.60
Data Analysis with R Book Cover
Data Analysis with R
$ 43.99
$ 8.80
Machine Learning with R - Second Edition Book Cover
Machine Learning with R - Second Edition
$ 43.99
$ 30.80