Today:
- Scatterplot AKA bivariate plot
- Linegraph
- Boxplot
- Barplot AKA Barchart AKA bargraph
- Histogram
Wed Sep 28, 2016
Today:
Let's re-run our example from last time:
# Load packages
library(dplyr)
library(ggplot2)
# Create data frame
simple_ex <-
data_frame(
A = c(1, 2, 3, 4),
B = c(1, 2, 3, 4),
C = c(3, 2, 1, 2),
D = c("a", "a", "b", "b")
)
simple_ex
A statistical graphic is a mapping of data variables to aes()thetic attributes of geom_etric objects.
geom_line()color aesthetic.By doing a local regression within a sliding window: GIF