[R] Random real numbers

Karl Ove Hufthammer karl at huftis.org
Tue Mar 2 14:06:52 CET 2010


On Tue, 2 Mar 2010 11:51:39 +0100 frederik vanhaelst 
<frederik.vanhaelst at gmail.com> 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



More information about the R-help mailing list