Created
February 9, 2019 18:32
-
-
Save BenjaminHolland/7f2e3caecae7c4e413fa1f2c81698416 to your computer and use it in GitHub Desktop.
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
ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width)) + | |
geom_point(aes(color=Species, shape=Species)) + | |
xlab("Sepal Length (cm)") + ylab("Sepal Width (cm)") + | |
ggtitle("Sepal Length vs Width", subtitle="A plot for class") + | |
geom_vline(linetype= "dashed", aes(xintercept=mean(Sepal.Length), color="red")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment