?unique
On Mon, 20 Jun 2005 13:50:22 +0100
"Uzuner, Tolga" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Am sure this is a trivial question but for some reason, haven't been able to
> figure it out.
>
> I want to bucket data in a vector, and then iterate over the buckets.
>
> Say the data set is:
>
Many thanks all, that was it.
Regards,
Tolga
-Original Message-
From: Marc Schwartz [mailto:[EMAIL PROTECTED]
Sent: 20 June 2005 14:02
To: Uzuner, Tolga
Cc: 'r-help@stat.math.ethz.ch'
Subject: Re: [R] Bucketting data
On Mon, 2005-06-20 at 13:50 +0100, Uzuner, Tolga wrote:
>
On Mon, 2005-06-20 at 13:50 +0100, Uzuner, Tolga wrote:
> Hi,
>
> Am sure this is a trivial question but for some reason, haven't been
> able to figure it out.
>
> I want to bucket data in a vector, and then iterate over the buckets.
>
> Say the data set is:
>
> > cleandata[,4]
> [1] 26 26
Web: http://www.med.kuleuven.be/biostat/
http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm
- Original Message -
From: "Uzuner, Tolga" <[EMAIL PROTECTED]>
To:
Sent: Monday, June 20, 2005 2:50 PM
Subject: [R] Bucketting data
> Hi,
>
> Am sure this
?table maybe is what you want
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Uzuner, Tolga
Sent: June 20, 2005 8:50 AM
To: 'r-help@stat.math.ethz.ch'
Subject: [R] Bucketting data
Hi,
Am sure this is a trivial question but for some reason, ha
I'm not certain what "buckets" are, but based on your example try
?unique
On 6/20/05, Uzuner, Tolga <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Am sure this is a trivial question but for some reason, haven't been able to
> figure it out.
>
> I want to bucket data in a vector, and then iterate over the
Hi,
Am sure this is a trivial question but for some reason, haven't been able to
figure it out.
I want to bucket data in a vector, and then iterate over the buckets.
Say the data set is:
> cleandata[,4]
[1] 26 26 26 26 26 26 26 26 26 26 26 26 61 61 61 61 61 61
61 61 61