Advanced Plotting with ggplot2
[Pages:68]Advanced Plotting with ggplot2
Algorithm Design & Software Engineering November 13, 2016 Stefan Feuerriegel
Today's Lecture
Objectives 1 Distinguishing different types of plots and their purpose 2 Learning the grammar of graphics 3 Create high-quality plots with ggplot2
Plotting
2
Outline
1 Introduction 2 Plot Types (Geometries) 3 Plot Appearance 4 Advanced Usage 5 Wrap-Up
Plotting
3
Outline
1 Introduction 2 Plot Types (Geometries) 3 Plot Appearance 4 Advanced Usage 5 Wrap-Up
Plotting: Introduction
4
Motivation
Why plotting? Visualizations makes it easier to understand and explore data Common types of plots: bar chart, histogram, line plot, scatter plot, box plot, pirate plot, . . .
Plotting with ggplot2 in R
Built-in routines cover most types, yet the have no consistent interface and limited flexibility Package ggplot2 is a powerful alternative
Abstract language that is flexible, simple and user-friendly Nice aesthetics by default Themes for common look-and-feel
"gg" stands for "grammar of graphics"
Limited to 2D plots (3D plots not supported)
Commonly used by New York Times, Economics, . . .
Plotting: Introduction
5
Example with ggplot2
Load package library(ggplot2) Create sample data line_data ................
................
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
- package ggplot2
- r handout fall 2020 data visualization w ggplot2
- article type focus article ggplot2 593
- hello graphics world basic charts in sas ods graphics
- chapter 2 r ggplot2 examples university of wisconsin
- cse 442 data visualization visualization tools
- advanced plotting with ggplot2
- data visualization with ggplot2 cheat sheet
- ggplot2 tutorial rxjs ggplot2 python data
Related searches
- advanced excel formulas with examples
- advanced calculator with fractions online
- plotting with pandas
- plotting cdf in python
- plotting text file with dates with pandas
- ggplot2 histogram with density
- ggplot2 boxplot with points
- advanced education with victor
- plotting worksheets for writers
- plotting graphs on excel
- advanced dementia with behavior icd 10
- advanced education with viktor