Skip to Content
R Programming By Example
book

R Programming By Example

by Omar Trejo Navarro
December 2017
Beginner to intermediate
470 pages
12h 29m
English
Packt Publishing
Content preview from R Programming By Example

Building blocks for reusable high-quality graphs

To diagnose the business state and find new opportunities, in this chapter, we will use various types of graphs. When it comes to developing static high-quality graphs, you can't go wrong with the ggplot2 package. Standard (built-in) graphs in R are fine for exploratory purposes, but are not as flexible or nice-looking as ggplot2 graphs. Since we want to show how to create high-quality graphs, we will focus on using this package (and others extending it) for static graphs. However, since the vanilla ggplot2 package only works for static graphs, we will use other packages for high-quality interactive graphs.

A downside of having so much flexibility when using ggplot2 is that it's very verbose, ...

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

Efficient R Programming

Efficient R Programming

Colin Gillespie, Robin Lovelace
R Programming

R Programming

Jared P. Lander

Publisher Resources

ISBN: 9781788292542Supplemental Content