I need to split a variable, gender, into 2 separate variables so I can evaluate other variables based on male/female. I have tried functions like separate() but I have not figured out how to evaluate male/female separately. Thanks for any help, I'm new to r.