Book description
Explore the full range of ggplot2 plotting capabilities to create meaningful and spectacular graphs
Discover the capabilities of one of the most sophisticated plotting packages in R
Create high-quality plots with this powerful and flexible tool
Accelerate your understanding of ggplot2 with useful and practical examples
In Detail
ggplot2 is one of the most sophisticated and advanced packages of R and its use is constantly growing in the community of R programmers. This book is the perfect starting point for your journey in learning about one of the most refined and widely used plotting tools—ggplot2.
You will start by taking a tour of the most relevant packages available in R to create plots, such as graphics, lattice, and ggplot2. Following this, you will take a deep dive into the concepts of ggplot2 by covering different kinds of plots that will help you gear up for your first hands-on project. After this first taste of the capabilities of ggplot2, you will explore in detail the visualization approach implemented in this package, the so-called grammar of graphics, providing you with the basics to understand the backstage concepts in the plotting functions. Finally, you will take a look at some specialized and sophisticated applications of ggplot2, such as how to realize a complex scatterplot matrix, heatmaps, and how to make spatial visualization graphs.
What You Will Learn
Familiarize yourself with some important data visualization packages in R such as graphics, lattice, and ggplot2
Realize different kinds of simple plots with the basic qplot function
Understand the basics of the grammar of graphics, the data visualization approach implemented in ggplot2
Master the ggplot2 package in realizing complex and more advanced graphs
Personalize the graphical details and learn the aesthetics of plotting graphs
Save and export your plots in different formats
Include maps in ggplot graphs, overlay data on maps, and learn how to realize complex matrix scatterplots
Table of contents
-
ggplot2 Essentials
- Table of Contents
- ggplot2 Essentials
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Graphics in R
- 2. Getting Started
- 3. The Layers and Grammar of Graphics
- 4. Advanced Plotting Techniques
- 5. Controlling Plot Details
- 6. Plot Output
- 7. Special Applications of ggplot2
- Index
Product information
- Title: ggplot2 Essentials
- Author(s):
- Release date: June 2015
- Publisher(s): Packt Publishing
- ISBN: 9781785283529
You might also like
book
R Data Science Quick Reference: A Pocket Guide to APIs, Libraries, and Packages
In this handy, practical book you will cover each concept concisely, with many illustrative examples. You'll …
book
Visualizing Data in R 4: Graphics Using the base, graphics, stats, and ggplot2 Packages
Master the syntax for working with R’s plotting functions in graphics and stats in this easy …
book
AppleScript: The Missing Manual
From newspapers to NASA, Mac users around the world use AppleScript to automate their daily computing …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …