Re: [R] and now a "cut" question

2011-06-21 Thread Bill.Venables
.org] On Behalf Of Erin Hodgess Sent: Tuesday, 21 June 2011 10:46 AM To: R help Subject: [R] and now a "cut" question Hello again R People: I have the following: > xm1[,1] [1] 13053 13068 13068 13053 14853 14853 14850 14850 13053 13053 13068 13068 > cut(xm1[,1],4) [1] (1.31e+04,

Re: [R] and now a "cut" question

2011-06-20 Thread Joshua Wiley
Look at the documentation for ?cut, specifically the dig.lab argument: cut(xm1, 4, dig.lab = 5) Cheers, Josh On Mon, Jun 20, 2011 at 5:46 PM, Erin Hodgess wrote: > Hello again R People: > > I have the following: > >> xm1[,1] >  [1] 13053 13068 13068 13053 14853 14853 14850 14850 13053 13053 13

[R] and now a "cut" question

2011-06-20 Thread Erin Hodgess
Hello again R People: I have the following: > xm1[,1] [1] 13053 13068 13068 13053 14853 14853 14850 14850 13053 13053 13068 13068 > cut(xm1[,1],4) [1] (1.31e+04,1.35e+04] (1.31e+04,1.35e+04] (1.31e+04,1.35e+04] [4] (1.31e+04,1.35e+04] (1.44e+04,1.49e+04] (1.44e+04,1.49e+04] [7] (1.44e+04,1.49