
Hi!
I am a beginner and I hope you will help me!
I have one data frame with numbers as columns names that correspond to codes. 
In a list I have the codes and the corresponding state.
Now I need to match the columns (codes) of the data.frame with the codes in the list, since not all the codes in the dataframe are also in the list and vice versa.
As output I will need a table with just the columns( codes) that are in the list..
How you think I could do that? I will really appreciate any help!

Thanks a lot in advance!

Serena
 		 	   		  

--
View this message in context: http://r.789695.n4.nabble.com/how-to-match-a-dataframe-and-a-list-tp3768914p3768914.html
Sent from the R help mailing list archive at Nabble.com.
	[[alternative HTML version deleted]]

