title: INTEGER() can only be applied to a 'integer', not a 'double' in R?
body: <p>I have got a data.frame "data1" made up of 16 variables (columns) and 64 observations (rows). The variables take 0 or 1 value, for presence and absence of the variables (o is the outcome variable):</p>
  
  <pre><code>x    y    z    o
  1    0    1    1
  1    1    1    1
  0    0    1    1
  0    1    0    1
  1    0    0    1
  1    1    0    1
  0    0    0    1
  0    0    1    1
  </code></pre>
  
  <p>The data file was an excel file that I imported into R as .csv file. I changed the name of the variables to shorter ones using the following code:</p>
  
  <pre><code>require(dplyr)
  library(QCA)
  cleaned_data &lt;- data1 %&gt;% 
  dplyr::rename_(
  'x'  = 'treatmentconcerns.revelationabout',
  'y'  = 'treatmentconcerns.familyconcerns',
  'z'  = 'treatmentconcerns.familyemotional',
  'o'  = 'outcmomy'
   )
  </code></pre>
  
  <p>I am going to do a Qualitative Comparative Analysis (QCA) analysis using the following code:</p>
  
  <pre><code>data1NR &lt;- superSubset(cleaned_data, outcome = "OUTC", incl.cut = 0.9, cov.cut = 0.5)
  </code></pre>
  
  <p>But R brings the following error and I don't know how to solve it:</p>
  
  <pre><code>Error in superSubset(cleaned_data, outcome = "OUTC", incl.cut = 0.9, cov.cut = 0.5) : 
  INTEGER() can only be applied to a 'integer', not a 'double'
  </code></pre>
  
  <p>I used: </p>
  
  <pre><code>str()
  </code></pre>
  
  <p>to see what is the structure of my data and it says that all my variables are integer, but I am stuck and don't figure out why this error comes back?</p>
  
  <p>Can anyone help me to solve it? I searched in the previous questions but could not find an answer that can work for my case.</p>
  
  <p>Thanks in advance,
  Eshmel</p>
  
  <p><a href="https://i.stack.imgur.com/2zqhq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2zqhq.png" alt="Codes"></a></p>
  
  <p><a href="https://i.stack.imgur.com/DUked.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DUked.png" alt="codes"></a></p>