Help with Repeated Measures One- Way ANOVA

I am trying to run a repeated measures one way ANOVA test and I keep getting errors. My data is height of plants collected at 3 time points in 6 treatments. I have 3 plants per treatment that were followed over time.

The code im running is:
TestData <- TestData %>%
gather(key="Time", value = "Height", T1, T2, T3)%>%
convert_as_factor(ID,Time)
View(TestData)

The error message I am receiving is:
Error in tbl_at_vars():
! Can't select columns that don't exist.
:heavy_multiplication_x: Column ID doesn't exist.
Run rlang::last_trace() to see where the error occurred.

I am wondering if my data is set up incorrectly in the csv file?

I have tried everything I know of... plz help

It is hard to say what the problem is without seeing your data. Please load your data from the csv into TestData and run

dput(TestData)

Post the output here and place a line with three back ticks just before and after the output, like this:
```
output of dput() goes here
```

This topic was automatically closed 90 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.