Create dummy equal to one if string vector equal to element in multiple string vector
By : user3146371
Date : March 29 2020, 07:55 AM
it helps some times If I understand the question correctly, the easiest approach is to use an ifelse statement. Please add a reproducible example in your next question to make it easier for those trying to give you solutions.