[R] Random real numbers

Paul Hiemstra p.hiemstra at geo.uu.nl
Tue Mar 2 17:05:33 CET 2010


frederik vanhaelst wrote:
> Hi,
>
> How could i generate random real numbers between 0 en 2*pi?
>
> Thanks,
>
> Frederik
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>   
Googeling for "R generate random number" gave this as a second hit (on 
my machine):

http://blog.revolution-computing.com/2009/02/how-to-choose-a-random-number-in-r.html

cheers,
Paul

-- 
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone:  +3130 274 3113 Mon-Tue
Phone:  +3130 253 5773 Wed-Fri
http://intamap.geo.uu.nl/~paul



More information about the R-help mailing list