Let's say you have data as follows. I haven't figured vintage weather house barometer how to directly calculate the effect size of Cochran's Q test. So, here, similarly to Kruskal-Wallis test, I calculate the effect size for a post-hoc McNemar's test. First, you need to prepare the data. Then, include coin package, which is necessary for Cochran's Q test.