Data C-S-M
Home
Exercises
▾
E01 HOBO Raw File
E02 HOBO Quality control
E03 HOBO Indices
E04 HOBO Graphs with ggplot2
E05 PM Air quality
E06 SQL
Code Snippets
☰
Code snippets
Example R code for dplyr, ggplot2 etc.
Michael Stölzle
mailto:michael.stoelzle@hydro.uni-freiburg.de
(University of Freiburg)
2019-01-13
Table of Contents
1. Data import and first plot
2. Table verbs in dplyr/tidyverse
3. ggplot2 examples with different geom’s
1. Data import and first plot
2. Table verbs in dplyr/tidyverse
3. ggplot2 examples with different geom’s
Style 1: Combining
ggplot
and
geom's
with
\(+\)
Style 2: Writing all lines into a graphic
g1
and adding diffferent
geom's
and settings line-by-line.