curve(dbinom(x, 100, 0.3), 0, 80, col = "red")
Warning in dbinom(x, 100, 0.3): non-integer x = 0.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 1.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 2.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 3.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 4.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 5.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 6.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 7.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 8.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 9.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 10.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 11.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 12.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 13.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 14.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 15.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 16.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 17.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 18.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 19.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 20.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 21.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 22.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 23.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 24.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 25.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 26.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 27.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 28.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 29.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 30.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 31.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 32.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 33.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 34.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 35.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 36.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 37.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 38.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 39.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 40.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 41.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 42.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 43.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 44.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 45.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 46.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 47.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 48.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 49.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 50.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 51.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 52.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 53.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 54.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 55.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 56.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 57.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 58.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 59.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 60.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 61.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 62.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 63.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 64.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 65.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 66.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 67.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 68.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 69.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 70.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 71.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 72.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 73.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 74.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 75.200000
Warning in dbinom(x, 100, 0.3): non-integer x = 76.800000
Warning in dbinom(x, 100, 0.3): non-integer x = 77.600000
Warning in dbinom(x, 100, 0.3): non-integer x = 78.400000
Warning in dbinom(x, 100, 0.3): non-integer x = 79.200000
curve(dbinom(x, 100, 0.5), 0, 80, col = "blue", add = TRUE)
Warning in dbinom(x, 100, 0.5): non-integer x = 0.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 1.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 2.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 3.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 4.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 5.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 6.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 7.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 8.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 9.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 10.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 11.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 12.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 13.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 14.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 15.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 16.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 17.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 18.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 19.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 20.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 21.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 22.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 23.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 24.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 25.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 26.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 27.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 28.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 29.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 30.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 31.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 32.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 33.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 34.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 35.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 36.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 37.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 38.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 39.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 40.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 41.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 42.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 43.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 44.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 45.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 46.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 47.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 48.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 49.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 50.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 51.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 52.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 53.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 54.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 55.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 56.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 57.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 58.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 59.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 60.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 61.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 62.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 63.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 64.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 65.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 66.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 67.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 68.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 69.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 70.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 71.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 72.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 73.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 74.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 75.200000
Warning in dbinom(x, 100, 0.5): non-integer x = 76.800000
Warning in dbinom(x, 100, 0.5): non-integer x = 77.600000
Warning in dbinom(x, 100, 0.5): non-integer x = 78.400000
Warning in dbinom(x, 100, 0.5): non-integer x = 79.200000
legend("topright",
legend = paste0("probe = ", c(0.3, 0.5)),
text.col = c("red", "blue")
)