Match full names with reverse in R

I have 2 columns in dataset, name 1 & name 2.

Column 1    |    Column 2  John, Smith | Smith, John 

How do I compare them & make a third column return TRUE if they are in reverse order as well in R

(Preferably tidyverse)

Asked on August 30, 2020 in R.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.