@sanchi_singh1 wrote:
I was trying to calculate the mean of Variable Age for all the females in my dataset but I am getting error NaN. Kindly help me out with this
mean(Age[Gender == "Female"])
[1] NaN
Posts: 2
Participants: 2
@sanchi_singh1 wrote:
I was trying to calculate the mean of Variable Age for all the females in my dataset but I am getting error NaN. Kindly help me out with this
mean(Age[Gender == "Female"])
[1] NaN
Posts: 2
Participants: 2