I am trying to run a pairwise T-test:
Dataundershootwithoutmeansminusstopdistance %>%
(Undershootextent ~ Condition, paired = TRUE, p.adjust.method = "bonferroni")
I am getting this result:
Error in complete.cases(x, y) : not all arguments have the same length
However, I don't see why this should be the case:
Here is a subset of my data:
Dataundershootwithoutmeansminusstopdistance
Targetdistance Condition ID Undershootextent
1 63.207 0 P_200214103155 3.498000
2 63.207 0.5 P_200214103155 6.161250
3 63.207 2 P_200214103155 10.420333
4 94.810 0 P_200214103155 15.852250
5 94.810 0.5 P_200214103155 10.553000
6 94.810 2 P_200214103155 10.441000
7 142.215 0 P_200214103155 17.495000
8 142.215 0.5 P_200214103155 38.332667
9 142.215 2 P_200214103155 40.320750