[R] how can sample from f(x)∝x^(a-1)

khazaei at ceremade.dauphine.fr khazaei at ceremade.dauphine.fr
Fri Dec 25 16:44:10 CET 2009


Hello all
how can sample from f(x)∝x^(a-1)*ind(0,min(b,-log(u)) in R?
where a and b is positive constand and   0<u<1
thanks
khazaei




More information about the R-help mailing list