Created
October 7, 2019 19:14
-
-
Save monogenea/95c375393d9f8c426c738c71352ddd97 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
n <- 1:20 | |
den <- dbinom(n, 20, 0.7) | |
plot(den, ylab = "Density", xlab = "Number of successes") | |
sum(den) # = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment