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
- chapter 2 r ggplot2 examples
- introduction to ggplot2
- ben ward saving a plot department of statistics university
- ggalluvial layered grammar for alluvial plots
- advanced plotting with ggplot2
- module 9 departments
- an introduction to r graphics part ii ggplot2
- digi data visualization lecture 4
- tutorial 3 bar graphs
- ggplot2 csc 640 advanced software engineering
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