First, I've really tried to avoid asking this and I sincerely want to teach myself how to do this, but after hitting my head against a wall for a few days, I've only wasted time and have nothing to show for my work. I can't even put out a reprex (I read how to do that, I'm so confused I can't even guess what code to start with).
My goal is to create a new variable in an existing dataset. I will call this new variable ha_rescue. Options for this will be "yes" or "no". I have 5 other columns, called "new_drug_1" up to "new_drug_5". If any of 6 words are in any of these columns, then I would want "yes" in my new variable "ha_rescue". If there is nothing or any other word in those columns, I would want "no" in variable ha_rescue.
My dataset is called "ha".
From what I have gathered, I should be using the dplyr package and mutate? I've seen examples of people creating new variables from numbers, but not from characters. The examples I see on youtube or other help sites have a lot of code and without starting their project from scratch I get pretty confused. I am new to R Studio and used it for my first semester in a clinical research masters program so I'm still a novice but I want to become proficient.
TLDR: Is dplyr the best way to create a new variable with specific character requirements from 5 other character variables?