Skip to Content
RStudio for R Statistical Computing Cookbook
book

RStudio for R Statistical Computing Cookbook

by Andrea Cirillo
April 2016
Beginner to intermediate content levelBeginner to intermediate
246 pages
5h 20m
English
Packt Publishing
Content preview from RStudio for R Statistical Computing Cookbook

Chapter 3. Basic Visualization Techniques

In this chapter, we will cover the following recipes:

  • 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
  • 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

Introduction

You now have your data in R (as discussed in Chapter 1, Acquiring Data for Your Project) and you gained a good understanding of its structure (in Chapter 2, Preparing for Analysis – Data Cleansing and Manipulation), but do you have an idea of its, let's ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Data Analysis Using Jupyter Notebook

Practical Data Analysis Using Jupyter Notebook

Marc Wintjen

Publisher Resources

ISBN: 9781784391034Supplemental Content