Part 8: How do you build your first CNA model? · Module 17

One function does the heavy lifting

How Do You Run CNA?

The whole method is wrapped in a single function: cna() . You hand it your data and tell it which column is the outcome. It quietly searches for the minimally sufficient and necessary combinations, then assembles them into solution formulas while you sip your tea.

Writing outcome = "LowCov" tells CNA to model the presence of low coverage, the value 1. In crisp-set data, a capitalised name means "this factor = 1." That convention runs through the whole package: a capital letter means present, and lower-case means absent.

What You Will Be Able to Do

  • Run cna() on a dataset.
  • Set the outcome argument correctly.
  • Explain what 'capital letter means present' is about.

Start This Module

The full lesson opens after a free, one-minute enrolment. See the full curriculum.