Re: [R] recategorizing a vector into discrete states

2005-08-16 Thread Marc Schwartz (via MN)
On Tue, 2005-08-16 at 13:18 -0400, Allan Strand wrote: > Hi All, > > I'm trying to take a numerical vector and produce a new vector of the > same length where each element in the first is placed into a category > given by a 'breaks-like' vector. The values in the result should equal > the low

Re: [R] recategorizing a vector into discrete states

2005-08-16 Thread Achim Zeileis
On Tue, 16 Aug 2005 13:18:23 -0400 Allan Strand wrote: > Hi All, > > I'm trying to take a numerical vector and produce a new vector of > the same length where each element in the first is placed into a > category given by a 'breaks-like' vector. The values in the result > should equal the lower