Hi all, I get an error on the last step of this code. The other two times I used mutate() it worked. The last time though, the column "KeepFinal" does not get created and gives the following error: Error in UseMethod("mutate_") : no applicable method for 'mutate_' applied to an object of class "character"
@mishabalyasin Thank you, I wanted to create 3 new variables but needed to get rid of the NAs in order to create the last variable. If there something I should do differently, please advise. I do not think I want to use mutate call on a string "Y"... but I wanted to try to do it all in one go. It is my second day working with pipes. I will also look into the reprex link, thank you.