Kruskal Wallis Test

isla_oliver

New Member
I am trying to perform a kruskal wallis test on my data and get the result:
Error in model.frame.default(formula = Length ~ Year) :
variable lengths differ (found for 'Year')

Could anyone identify what the problem is and how to fix it please?