[R] Random real numbers
jim holtman
jholtman at gmail.com
Tue Mar 2 14:09:37 CET 2010
> runif(20,0,2*pi)
[1] 1.29417642 1.10933879 4.31669186 2.41339484 4.83705630 3.12713657
4.50893007 6.23232980 2.38783146 4.88483239 5.87292617
[12] 1.33293077 4.09458703 0.78888593 1.67899698 2.42602639 0.08413394
2.40261439 5.46442874 2.13847582
>
On Tue, Mar 2, 2010 at 5:51 AM, frederik vanhaelst
<frederik.vanhaelst at gmail.com> 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.
>
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390
What is the problem that you are trying to solve?
More information about the R-help
mailing list