Nothing

```
#' @export
S.BE<-function(N,prob){
sam<-matrix(0,N,1)
U<-runif(N)
for(k in 1:N){
if(U[k]<=prob)
sam[k]<-k
}
return(sam)
}
```

**Any scripts or data that you put into this service are public.**

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.