>
> ...I discovered that when R attempts to sample from an object with only one
> number it does not
> reproduce/report the number but instead chooses a random number between 1
> and that number.
>
This is the documented behavior.
In my opinion, it is a design error, but changing it would no doub
On Thu, 2009-05-28 at 09:30 +0200, chajew...@fordham.edu wrote:
> Full_Name: Michael Chajewski
> Version: 2.9.0
> OS: Windows XP
> Submission from: (NULL) (150.108.71.185)
>
>
> I was programming a routine which kept reducing the array from which a random
> sample was taken, resulting in a single
Full_Name: Michael Chajewski
Version: 2.9.0
OS: Windows XP
Submission from: (NULL) (150.108.71.185)
I was programming a routine which kept reducing the array from which a random
sample was taken, resulting in a single number. I discovered that when R
attempts to sample from an object with only on