Hi,
I am trying to do a levene test
bengueladf<-data.frame(benguela$year,periodbenguela,rowMeans(benguela[,1:22]))
names(bengueladf)[1]<-paste("Year")
names(bengueladf)[2]<-paste("Period")
names(bengueladf)[3]<-paste("Multimodel Mean")
leveneTest(Multimodel Mean~Period, data = bengueladf)
Keep getting error
Error: unexpected symbol in "leveneTest(Multimodel Mean"
What am I doing wrong?
Hi, and welcome!
Please see the FAQ: What's a reproducible example (`reprex`) and how do I do one? Using a reprex, complete with representative data will attract quicker and more answers.
Fortunately, it's easy to spot the issue, which is a blank space. (The one in Multimodel Mean
)
system
Closed
3
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.