Binomial Distribution in R

I am currently using excel to work out the Binomial Distribution. What is the equivalent code in R that would do this, please?

The size of the random sample=30, the 0.1 is the percentage this event will occur and the 3 is the predicted value

P- Value = 1- Binomdist (3, 30, 0.1, True)

Many Thanks

See help(Binomial) page

1 Like