Similar to this question, but not exactly the same.
result test1 test2 test3 test4
a 13 12 12 8
b 5 9 10 8
c 39 24 30 29
How can I use purr for row and columnwise prop.tests comparing test1 to test2:test4 by result?
Manually I guess it would look like this for each test:
result: a, test1, test2: prop.test(c(13, 12), c(57, 45))
result: c, test1, test4: prop.test(c(30, 29), c(57, 45))