How to find the Mean of two different variables

Wouldn't the same code work for females?

Can you provide a reproducible example?