Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying ggplot2 Essentials
  • Table Of Contents Toc
ggplot2 Essentials

ggplot2 Essentials

By : Donato Teutonico
3.8 (5)
close
close
ggplot2 Essentials

ggplot2 Essentials

3.8 (5)
By: Donato Teutonico

Overview of this book

This book is perfect for R programmers who are interested in learning to use ggplot2 for data visualization, from the basics up to using more advanced applications, such as faceting and grouping. Since this book will not cover the basics of R commands and objects, you should have a basic understanding of the R language.
Table of Contents (9 chapters)
close
close
8
Index

Chapter 3. The Layers and Grammar of Graphics

In this chapter, we will take a closer look at the grammar of graphics as implemented in ggplot2. We will go through the main concepts of the layer approach that will help you to understand and master the full potential of the basic qplot function which we were introduced to in Chapter 2, Getting Started. After a general introduction to the different components of the grammar of graphics, we will go deeper into the faceting, coordinate system, scales, and concept of layers in dedicated sections of this chapter. Afterwards, we will have a look at how you can use the ggplot() function and how its code relates to the one you have already seen used with the simplified qplot() function.

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
ggplot2 Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon