The code I am using is tapply(g,?, mean), the tapply function but I am confused about what to put in between g which is my vector, and the mean. The question asks to get the