Version 4.0.0 of the cna R package released on CRAN
Mathias Amb眉hl and Michael Baumgartner released version 4.0.0 of the cna R package on CRAN. Many new measures for sufficiency and necessity evaluation are now available for CNA model building.

Main content
On April 4, 2025, version 4.0.0 of the cna R package was released on CRAN. As always, it can be downloaded here:
The main novelty is that the package now offers not only consistency and coverage as measures for evaluating sufficiency and necessity relations in data, but also six additional measures, such as contrapositive consistency and coverage, as well as various prevalence and antecedent-adjusted measures. The new evaluation measures can be used through a new argument called measures, available in the cna() function and various other functions. For details on the new evaluation measures see:
De Souter, Luna and Michael Baumgartner. 2025. 鈥淣ew sufficiency and necessity measures for model building with Coincidence Analysis.鈥澛Zenodo.
Here are the changes in more detail:
Changes in version 4.0.0
- cna() accepts alternative definitions of consistency and coverage. Users can change their selection of definitions and specify their choice in the new argument measures.
- The vignette has been thoroughly revised to introduce these new definitions/measures.聽
- Correspondingly, con/cov measures can be selected in condition(), condTbl() and other functions.聽
- New function detailMeasures() is available at the user level (previously present but not visible).聽
- New functions showMeasures(), showConCovMeasures() and showDetailMeasures() list available summary measures for configuration tables.聽
- The implementation logic of secondary (fine-tuning) parameters in cna() has been revised. In particular, parameters that are not relevant for the ordinary user have been outsourced to a new function cnaControl().聽
- The building of complex solution formulas (csf) has been changed such that csf that are submodels of other csf are no longer returned by the function csf().聽
- New function fs2cs() is available at the user level (previously present but not visible).聽
- Argument inus.only in cna()/cnaControl() has new default value TRUE.聽
- The choice of columns printed by default in msc, asf and csf tables changed.聽
- Functions and arguments that had been deprecated since V3.0 have now been removed.聽
- More minor changes - not fully listed here.