I want to generate 250 exponentially distributed random variables between 0 and 1 in R in ascending order . How can I do it?
I am trying this using :
Timeinstants <- seq(0,1,by=rexp(250,rate=2))
but it is showing some error. Can someone help?
Aucun commentaire:
Enregistrer un commentaire