[R] Generating random integers

Daniel Nordlund djnordlund at verizon.net
Sun Apr 12 08:55:13 CEST 2009


> -----Original Message-----
> From: r-help-bounces at r-project.org 
> [mailto:r-help-bounces at r-project.org] On Behalf Of skayis selcuk
> Sent: Saturday, April 11, 2009 11:24 PM
> To: r-help at r-project.org
> Subject: [R] Generating random integers
> 
> 
>    Dear R users,
> 
>    I need to generate random integer(s) in a range (say that 
> beetween 1 to
>    100) in R.
> 
>    Any help is deeply appreciated.
> 
>    Kind Regards
> 
>    Seyit Ali
>    

Look at

    ?sample

Hope this is helpful,

Dan

Daniel Nordlund
Bothell, WA USA




More information about the R-help mailing list