Created
April 20, 2015 17:57
-
-
Save jaye-ross/93bc6af266f97b369244 to your computer and use it in GitHub Desktop.
Draw arrows on plot
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
curve(dnorm(x,0,1),-5,5) | |
curve(dnorm(x,1,1),-5,5,add=TRUE) | |
arrows(0,0.2,1,0.2) | |
abline(v=0,lty=2) | |
abline(v=1,lty=2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment