Well, to be mathematically correct, you cannot choose random real
numbers for the simple reason that we don't even have names for all the
reals.
As all of you know (I hope :-) ), there are the same number (aleph-1) of
reals in any length line segment you wish. Aside from the unlikelihood
that
On Tue, Mar 2, 2010 at 4:05 PM, Paul Hiemstra wrote:
> frederik vanhaelst wrote:
>>
>> Hi,
>>
>> How could i generate random real numbers between 0 en 2*pi?
>>
>> Thanks,
>
> Googeling for "R generate random number" gave this as a second hit (on my
> machine):
>
> http://blog.revolution-computing
frederik vanhaelst wrote:
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
-Mensaje original-
De: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] En
nombre de Rubén Roa
Enviado el: martes, 02 de marzo de 2010 14:13
Para: frederik vanhaelst; r-h...@stat.math.ethz.ch
Asunto: Re: [R] Random real numbers
>From what distribution?
If the uniform
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 rea
> 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.7593 1.67899698 2.42602639 0.08413394
2.40261439 5.46442874 2.13847582
>
On Tue, Mar 2, 2010 at 5:51 AM, frederik vanha
On Tue, 2 Mar 2010 11:51:39 +0100 frederik vanhaelst
wrote:
> How could i generate random real numbers between 0 en 2*pi?
Ten such numbers from the uniform distribution:
2*pi*runif(10)
--
Karl Ove Hufthammer
__
R-help@r-project.org mailing list
ht
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://ww
8 matches
Mail list logo