### extable is a truth table on which coincidence analysis will be applied
extable <- data.frame ( A=c(1,1,1,1,0,0,0,0), B=c(1,1,0,0,1,1,0,0),
C=c(1,1,1,1,1,1,0,0), D=c(1,0,1,0,1,0,1,0),
E=c(1,1,1,1,1,0,1,0))
### cna is the main fonction of this package
cna(extable)
### The final result is:
### condition consistency coverage
### (A + B <-> C) & (A + D <-> E) 1.000 1.000Run the code above in your browser using DataLab