How to generate binary random normal variates in R

r

#1

I am studying about normal distribution in R and while studying about I am to generate the random normal variates but I want to generate it in binomial form which I am not able to perform
x<-rnorm(5)
I want to be binomial


#2

Take a look at this page:

https://stat.ethz.ch/R-manual/R-patched/library/stats/html/Binomial.html

binom(n,size,prob)

replace n, size and prob as mentioned.