I'm in a class learning R right now, and I'm stuck on a problem.
We set up the following data frame:
Column1=c(rep("control",300),rep("ConditionB",300),rep("ConditionC",300))
Column2=(900,mean=100,sd=10)
data=data.frame(Column1,Column2)
It runs fine, but then he asked us the following request:
"Use tapply to find the means of "control", "ConditionB", and "ConditionC"".
I have tried ten different ways of putting it, and I just come out with errors. Can anyone help me with this?