[R] comparing three vectors

2012-07-17 Thread arunkumar1111
Hi I 've a data a=c(10,20,30) b=c(100,200,300) c=c(50,60,70) I want to compare a[1]=c[1]b[1],.. How to compare for all the records - Thanks in Advance Arun -- View this message in context: http://r.789695.n4.nabble.com/comparing-three-vectors-tp4636728.html Sent from the R

Re: [R] comparing three vectors

2012-07-17 Thread andrija djurovic
Hi. Try this: a=c cb Andrija On Tue, Jul 17, 2012 at 9:02 AM, arunkumar akpbond...@gmail.com wrote: Hi I 've a data a=c(10,20,30) b=c(100,200,300) c=c(50,60,70) I want to compare a[1]=c[1]b[1],.. How to compare for all the records - Thanks in Advance Arun

Re: [R] comparing three vectors

2012-07-17 Thread arun
30 300 70  TRUE A.K. - Original Message - From: arunkumar akpbond...@gmail.com To: r-help@r-project.org Cc: Sent: Tuesday, July 17, 2012 3:02 AM Subject: [R] comparing three vectors Hi I 've a data a=c(10,20,30) b=c(100,200,300) c=c(50,60,70) I want to compare a[1]=c[1]b