[R] Generate random Bernoulli draws

Marino David d@vidm@rino838 @ending from gm@il@com
Fri Jul 6 07:23:55 CEST 2018

Dear All,

I would like to generate N random Bernoulli draws given a probability
function F(x)=1-exp(-2.5*x) in which x follows  uniform distribution, say

Can some one leave me some code lines for implementing this?

Thanks in advance.


	[[alternative HTML version deleted]]

More information about the R-help mailing list