Skip to content
Back to formatted view

Raw Message

Message-ID: <403D2D46.9070707@pdf.com>
Date: 2004-02-25T23:18:30Z
From: Sundar Dorai-Raj
Subject: distinct random number
In-Reply-To: <20040225231148.64564.qmail@web11508.mail.yahoo.com>

?sample

sample(0:m, n)

-sd

li xian wrote:

> How to express n distinct numbers between 0 and m? ( In R )
> Thanks!
> 
> 
> ---------------------------------
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html