I'm not sure how to explain this problem, but I think there's an issue in my installation of R.
I'm trying to run an anova on some data I have, and keep getting an error message -
plot(aggregate(Concentration~Ti, FUN=mean, data=datx2))
# Main analysis: between variable is Ti (titanium), within is Day, as each replicate measured at three time points
ANOVA<-aov_ez("id", "Concentration", datx, between = c("Ti"), within = c("Day"))
Error in aov_ez("id", "Concentration", datx, between = c("Ti"), within = c("Day")) :
could not find function "aov_ez"
I've uninstalled and reinstalled both R and RStudio. Same problem.
The reason I think it's something in the installation is that I had basically the same problem last year when trying to run a tukey test. Different data, different laptop, but had the same problem.
another reason I think it's the installation is that the exact same code will run perfectly on my supervisors laptop, and my friend's laptop, so something is going wrong with mine and I have absolutely no clue how to fix it.
If anyone could help I would be beyond grateful.
Thanks.