[R] How to add specific column to data.set?

phillip03 phillipbrigham at hotmail.com
Wed Apr 18 19:49:21 CEST 2012


So the lapply function checks every country pair row for row (in my country1
and country2 column) and send back a true if both countries are EU?

How do I get a 1 instead of true and 2 instead of false?

You have been a BIG help.

I have a WHOLE assignment to get done, so maybe I'll post some more
questions :) 

--
View this message in context: http://r.789695.n4.nabble.com/How-to-add-specific-column-to-data-set-tp4565341p4568491.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list