Nền tảng Lập trình Hàm với purrr
Auriel Fournier
Instructor
ggplot() cần dữ liệu dạng data frameggplot()geom_*() xác định loại biểu đồggplot(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()

Nền tảng Lập trình Hàm với purrr