# cumulative distribution function of the Bernoulli distribution
pbern<-function(y,prob){
pbinom(y,size=1,prob=prob,log=FALSE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.