R/rbern.R

"rbern" <-

function(n, prob)



{



	rbinom(n,size=1,prob=prob)

	

}

Try the Rlab package in your browser

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

Rlab documentation built on May 5, 2022, 1:05 a.m.