Hi! I am somewhat new to using RStudio and I am having issues with running an ANOVA on my data set. I am comparing speeds of 3 populations, Red, Black, and Hybrid. I have 20 individuals for both the Black and Hybrid populations and 28 for the Red population. When I run the test with the Black and Hybrid everything is fine. However, when I run the Red population compared to either of the others I get an error for "variable lengths differs". I can compare the speed for all 3 populations together and get values so I am not sure what's going on. The code I use and the error I get are on the bottom. summary(aov(formula = handle.Hybridonly$Speed ~ handle.Redonly$Speed)) Error in h(simpleError(msg, call)) : error in evaluating the argument 'object' in selecting a method for function 'summary': variable lengths differ (found for 'handle.Redonly$Speed') I would be thankfull for any help!
... View more