Re: [R] Hash Table - Select and Change Data iniside Matrix Using "Between"

2012-05-28 Thread arun
Hi,  I guess this is what you are looking for, dat[dat$AGE<=40 & da$AGE>=30,"TRUE/FALSE"]<-TRUE A.K. - Original Message - From: Rantony To: r-help@r-project.org Cc: Sent: Monday, May 28, 2012 10:01 AM Subject: [R] Hash Table - Select and Change Data inisid

Re: [R] Hash Table - Select and Change Data iniside Matrix Using "Between"

2012-05-28 Thread R. Michael Weylandt
I already answered this. Don't double post questions. On Mon, May 28, 2012 at 10:01 AM, Rantony wrote: > Hi, > > Here i have been an matrix like this, > > *NAME    AGE   PALCE                TRUE/FALSE* > ABC         20      INDIA > XYZ         30       FRANCE > PQR        40       USA > MNO    

[R] Hash Table - Select and Change Data iniside Matrix Using "Between"

2012-05-28 Thread Rantony
Hi, Here i have been an matrix like this, *NAMEAGE PALCETRUE/FALSE* ABC 20 INDIA XYZ 30 FRANCE PQR40 USA MNO 30KENIYA DEF25AUSTRALIA GTY34 CANADA BNH 38JAPAN Here, *TRUE/F