This is my dataset and I want to find the mean of females in math scores. This was my code:
mean(Dataset_A[Dataset_A$gender=="female", "math score"])
Warning in mean.default(Dataset_A[Dataset_A$gender == "female", "math score"]) :
argument is not numeric or logical: returning NA [1] NA