[R] Bucketting data

2005-06-20 Thread Uzuner, Tolga
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

Re: [R] Bucketting data

2005-06-20 Thread Sarah Goslee
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 buckets.

Re: [R] Bucketting data

2005-06-20 Thread Jim Brennan
?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, haven't been

Re: [R] Bucketting data

2005-06-20 Thread Dimitris Rizopoulos
Web: http://www.med.kuleuven.be/biostat/ http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm - Original Message - From: Uzuner, Tolga [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Sent: Monday, June 20, 2005 2:50 PM Subject: [R] Bucketting data Hi, Am sure

Re: [R] Bucketting data

2005-06-20 Thread Marc Schwartz
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 26 26 26

Re: [R] Bucketting data

2005-06-20 Thread Uzuner, Tolga
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: Hi, Am

Re: [R] Bucketting data

2005-06-20 Thread ronggui
?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: