Hi, I tried to calculate cohens d after a simple t test with the following code:
As you can see in the attached picture, I received this error message:
grouping factor must have exactly 2 levels
But when i check the levels of my grouping factor (conditions), r shows me exactly two levels:
Can anyone help me with this issue?