I have executed a research to assess the performance among diagnostics kits. I could determine the statistical components except Cohen's kappa coefficient. Here I compiled my data in binary values [1=positive, 0=negative]. To check the agreements among data I am in a need of calculating kappa coefficient. If anyone could provide me with syntax to calculate kappa coefficient using either Python or R I would be much obliged and feel grateful.
Regards....