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

phillip03 phillipbrigham at hotmail.com
Tue Apr 17 18:40:35 CEST 2012


Hi
I have a data.set with 7 lists, with over 7000 observations in each list. to
of the lists contain country names. 
like:
aus   dnk
fra   aus
usa  aut
itl    usa
.  
.
.
etc.

My dilemma is that I want to add an extra column/list to my data.set. If the
countries are both european it should be assigned 1 or true AND if one or
both the countries are non-european it should be assigned 0 or false.

Please et me know if you dont understand my dilemma.

Thanks

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



More information about the R-help mailing list