I want to draw the density of Binomial distribution in R.
I tried as :
I want to write 1 under the 1st bar, 2 under the 2nd bar, 3 under the 3rd bar and so on.
I actually want to draw a graph same as http://en.wikipedia.org/wiki/Binomial_distribution#Normal_approximation
I couldn't make this using hist()
I tried as :
Code:
x=dbinom(1:10,10,0.5)
x
barplot(x)
I actually want to draw a graph same as http://en.wikipedia.org/wiki/Binomial_distribution#Normal_approximation
I couldn't make this using hist()