title: R: Using kappam.fleiss while ignoring NA?
body: <p>I have a dataset similar to the below:</p>
  
  <pre><code>zz &lt;-  "Rater1    Rater2    Rater3     
  1          1         0         1 
  2          1         0         NA
  3          0         1         1
  4          NA        0         0
  5          0         1         0
  6          1         1         0
  7          NA        0         0
  8          0         NA        0
  9          1         1         1  
  10         1         0         0"
  
  data &lt;- read.table(text=zz, header = TRUE)
  </code></pre>
  
  <p>Using the <code>irr</code> <a href="https://cran.r-project.org/web/packages/irr/irr.pdf" rel="nofollow">package</a>, I'd like to find the <code>kappam.fleiss</code> value for the dataset. This code gets me that, but excludes the rows with an NA (you'll note only six observations in the output as oppossed to the desired ten):</p>
  
  <pre><code>kappam.fleiss(data, exact = FALSE, detail = FALSE)
  </code></pre>
  
  <p>So, how can I get the 'kappam.fleiss' results using all ten rows; i.e., ommitting NA values individually instead of listwise?</p>
  
  <p>Just returning the list of 8 values from 'kappam.fleiss' that includes data from each row is enough. Thanks to @Paul Hiemstra for the note on clarification.</p>