title: Error: `t.haven_labelled()` not supported while attempting MICE package in R
body: <p>Here is my sample code:</p>
  
  <p>library(haven)
  community_surveys &lt;- read_sav("community_surveys.sav")</p>
  
  <p>diss_data &lt;- as.data.frame(community_surveys)</p>
  
  <pre><code>diss_data$FOC_1 &lt;- as.factor(diss_data$FOC_1)
  diss_data$DR_1 &lt;- as.factor(diss_data$DR_1)
  diss_data$IR_1 &lt;- as.factor(diss_data$IR_1)
  diss_data$HAITI &lt;- as.factor(diss_data$HAITI)
  diss_data$TREATMENT &lt;- as.factor(diss_data$TREATMENT)
  
  library(mice)
  
  mice(diss_data, maxit = 10, m = 10)
  </code></pre>
  
  <p>I get this error below:</p>
  
  <pre><code>Error: `t.haven_labelled()` not supported
  </code></pre>
  
  <p>As far as the level of comprehension, I am a newbie R user with a couple intro classes and some reading under my belt. Any assistance much appreciated. </p>