Re: [R] a weird "cut" question

2011-12-08 Thread Jeff Newmiller
You picked a data set and ask whether the function parameters can fix the partition. Perhaps you should consider a different data set: rep(47677,9). I think you cannot "fix" the partition without considering the data also. Given that, you may be able to go back and manually identify a partition

Re: [R] a weird "cut" question

2011-12-07 Thread William Dunlap
n Hodgess > Sent: Wednesday, December 07, 2011 7:15 PM > To: R help > Subject: [R] a weird "cut" question > > Dear R People: > > I have the following data: > > > ail.df[,1] > [1] 47677 47602 47678 47905 47909 47906 47605 47673 47607 > > cut(ail.df[,1

[R] a weird "cut" question

2011-12-07 Thread Erin Hodgess
Dear R People: I have the following data: > ail.df[,1] [1] 47677 47602 47678 47905 47909 47906 47605 47673 47607 > cut(ail.df[,1],breaks=3) [1] (4.76e+04,4.77e+04] (4.76e+04,4.77e+04] (4.76e+04,4.77e+04] [4] (4.78e+04,4.79e+04] (4.78e+04,4.79e+04] (4.78e+04,4.79e+04] [7] (4.76e+04,4.77e+04] (4.76