Created
May 3, 2017 22:56
-
-
Save ramnathv/fec2cf0a5c51c190bbe2ce76359f055e to your computer and use it in GitHub Desktop.
Datasaurus in R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(ggplot2) | |
library(datasauRus) | |
library(gganimate) | |
p <- ggplot(datasaurus_dozen, aes(x = x, y = y, frame = dataset)) + | |
geom_point() + | |
theme(legend.position = "none") | |
gganimate(p, title_frame = FALSE) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment