Re: [R] Assigning entries to category

2010-06-30 Thread David Winsemius
On Jun 30, 2010, at 12:27 PM, Charles C. Berry wrote: see ?cut ?interaction I had been thinking that findInterval or expand.grid might also be useful, but was really waiting for a test data preparation to emerge. -- David. HTH, Chuck On Wed, 30 Jun 2010, LogLord wro

Re: [R] Assigning entries to category

2010-06-30 Thread Charles C. Berry
see ?cut ?interaction HTH, Chuck On Wed, 30 Jun 2010, LogLord wrote: Hi, I have the following problem: I have a large dataframe where each row is specified by two numerical value (one 1:25 and the other one large specific number (e.g. 203043)). I have a list of 60 categor

[R] Assigning entries to category

2010-06-30 Thread LogLord
Hi, I have the following problem: I have a large dataframe where each row is specified by two numerical value (one 1:25 and the other one large specific number (e.g. 203043)). I have a list of 60 categories which are also assigned to one of the first numerical value (1:25) but have a range for th