Hi, My data frame looks like

A B C 

a b a 

x y z 


I want to add a new column which says "y" if either A or B matches with C and 
"n" if there is no match. How can I do that?

Thanks

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to