Column1 Column2 Output
Match Match Match
Match NA Match
NA NA NA
The above are two columns and the desired output in R. Output should be,if both column is Match it should give a "Match",if one column has Match and the other has NA, it should still print "Match". But if both of them are NA's it should print it as NA