Ggplot2 - Fabrice Rossi
Ggplot2
Fabrice Rossi
CEREMADE
Universit¨¦ Paris Dauphine
2020
Outline
Introduction
Core principles
A tour of ggplot2
Extensions and other packages
2
Ggplot2
I ggplot2 is a graphic system for R
I ggplot2 takes a declarative approach to graphics
I current standard for data science in R
divorced
married
single
400
count
education
primary
secondary
tertiary
unknown
200
0
30
50
70
90
30
50
70
90
30
50
70
90
age
3
Ggplot2
Pros
I explain what you want not
how to do it (declarative)
I high quality defaults (e.g. for
colors)
I easy conditional analysis
I consistent presentation
I included best practices
Cons
I rather steep learning curve
(new logic compared to
standard R plot)
I data science oriented (needs
a data frame)
I difficult to customize in some
circumstances
I no interactivity
4
Principles
In ggplot, a plot is composed of
I a data set
I a mapping from some variables to aesthetics (graphical primitives)
I layers that compute summaries of the data (stats)
I layers that represent with graphical objects the data (geom)
I scales that transform values in the data space into values in the
aesthetics
I a coordinate system
I a faceting specification for conditional analysis
I a theme which specifies details such as fonts and colormap
5
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- data visualization with ggplot2 cheat sheet github
- ezplot functions for common chart types
- about the tutorial
- michael friendly psych 6135 york university
- ggplot university of new mexico
- data visualization with ggplot2 cheat sheet bookdown
- data visualization with ggplot2 cheat sheet national cancer institute
- a quick and focused overview of r data types and ggplot2 syntax inra
- data visualization with ggplot2 cheat sheet university of sydney
- ggplot2 fabrice rossi
Related searches
- rossi 308 12 gauge combo
- rossi interchangeable barrel system
- rossi barrels for sale
- rossi 12 ga shotgun review
- barrels for rossi youth guns
- rossi 12 gauge shotgun pistol
- rossi double barrel hammer shotguns
- rossi double shotguns
- rossi shotguns 410
- rossi youth replacement barrels
- rossi 12 gauge shotgun pistol for sale
- rossi 12 gauge shotguns