Re: [R] Re-grouping data in R

2012-08-07 Thread Rui Barradas
Hello, Inline. Em 07-08-2012 19:56, Abraham Mathew escreveu: I have a data frame with a column of values that I want to bucket (group) into specific levels. str(dat)'data.frame': 3678 obs. of 39 variables: $ id : int 23 76 129 156 166 180 200 214 296 344 ...

Re: [R] Re-grouping data in R

2012-08-07 Thread David L Carlson
43-4352 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Abraham Mathew > Sent: Tuesday, August 07, 2012 1:57 PM > To: r-help@r-project.org > Subject: [R] Re-grouping data in R > > I have a data frame with

[R] Re-grouping data in R

2012-08-07 Thread Abraham Mathew
I have a data frame with a column of values that I want to bucket (group) into specific levels. > str(dat)'data.frame': 3678 obs. of 39 variables: $ id : int 23 76 129 156 166 180 200 214 296 344 ... $ final_purchase_amount : Factor w/ 32 levels "\\N","1082","110