Hello all,
I am trying to run a pairwise T-test:
Dataundershootwithoutmeansminusstopdistance %>% pairwise_t_test(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
1 Like
hey @nirgrahamuk yes thanks I have managed to work out the problem!
I removed the paired = TRUE as I did not want paired but pairwise
If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it:
If your question has been answered, don't forget to mark the solution!
How do I mark a solution?
Find the reply you want to mark as the solution and look for the row of small gray icons at the bottom of that reply. Click the one that looks like a box with a checkmark in it:
[image]
Hovering over the mark solution button shows the label, "Select if this reply solves the problem". If you don't see the mark solution button, try clicking the three dots button ( ••• ) to expand the full set of options.
When a solution is chosen, the icon turns green and the hover label changes to: "Unselect if this reply no longer solves the problem". Success!
[solution_reply_author]
…
1 Like
yes! I have now done so above!
system
Closed
March 8, 2020, 12:40pm
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.