Foundations of Functional Programming with purrr
Auriel Fournier
Instructor
ggplot() requires data frame inputggplot()geom_*() shows graph typeggplot(data = dataframe,
aes(x = columnA,
y = columnB))+
geom_point()

birddf <- bird_measurements %>%
map_df(~ data_frame(
wing_length = .x[["wing length"]],
weight = .x[["weight"]])) %>%
ggplot(aes(x = weight,
y = wing_length))+
geom_point()

Foundations of Functional Programming with purrr