Re: [R] Intersect 2 lists+bring extra columns

2013-09-01 Thread jsteimle
I see how merge works now, and to answer my own question, I can have any number of columns of miscellaneous information I want. -- View this message in context: http://r.789695.n4.nabble.com/Intersect-2-lists-bring-extra-columns-tp4675136p4675146.html Sent from the R help mailing list archive

Re: [R] Intersect 2 lists+bring extra columns

2013-09-01 Thread jsteimle
Hi A.K. That is exactly what I was hoping to do. If you have the time, can you explain what the fruit[,-1] term means in the merge? Also, if I wanted to expand the number of columns to report to include a 4th column, let's call it flavor, how would I go about doing that? J.S. -- View this me

[R] Intersect 2 lists+bring extra columns

2013-09-01 Thread jsteimle
Hi everyone, I am pretty new to R, so be patient. I am trying to intersect 2 columns and in the rows that intersect, I want information from the 3rd column to be brought with it. I think it will be easier to explain with an example example.csv