Unexpected symbol LeveneTest

I've been trying to run a leveneTest and no matter what I do it says there's an unexpected symbol.

Here is the code:
Data <- read_excel("Data/MAP.xlsx")
library(car)
leveneTest(Total Carbon~Soil Order, data = Data)

The error: Error: unexpected symbol in "leveneTest(Total Carbon"

Try changing your column names so they don't have spaces.

That fixed it thanks so much!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.