I adopt a within-group experiment, such that the same participant uses 3 devices to perform a task, which has a result "pass" or fail. My data looks like this:
Pass Fail deviceA 21 13 deviceB 15 20 deviceC 9 25
My questions are:
- Is McNemar's test appropriate for this data?
In R, when I run
mcnemar.test(data), I got the following error:
"'x' must be square with at least two rows and columns"
How can I run this $3 \times 2$ data for R's