>From what distribution?
If the uniform,
runif(100,0,2*pi)
If another, install package Runuran, and do this
?Runuran
Vignette("Runuran")

HTH
____________________________________________________________________________________
 

Dr. Rubén Roa-Ureta
AZTI - Tecnalia / Marine Research Unit
Txatxarramendi Ugartea z/g
48395 Sukarrieta (Bizkaia)
SPAIN


-----Mensaje original-----
De: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] En 
nombre de frederik vanhaelst
Enviado el: martes, 02 de marzo de 2010 11:52
Para: r-h...@stat.math.ethz.ch
Asunto: [R] Random real numbers

Hi,

How could i generate random real numbers between 0 en 2*pi?

Thanks,

Frederik

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to