title: lattice plot functions do not work with mids (mice output)
body: <p>I have a dataset with missing values and therefore run the <code>mice</code> function as a imputation method. Until here everything worked fine.
  Now I want to compare the distribution of original and imputed dataset with the <code>lattice</code> package using <code>xyplot</code>, <code>densityplot</code> or <code>stripplot</code>. But none of those plots work. I always get the error:</p>
  <blockquote>
  <p>no applicable method for 'xyplot' applied to an object of class &quot;mids&quot;</p>
  </blockquote>
  <p>Here is my code so far.</p>
  <pre class="lang-r prettyprint-override"><code>
  install.packages(&quot;mice&quot;)
  library(&quot;mice&quot;)
  tempData &lt;- mice(data_impute, m = 5,maxit = 50,seed = 500)
  
  summary(tempData)
  tempData$imp$min.observed 
  
  #compare distribution of original and imputed dataset - does not work so far
  install.packages(&quot;lattice&quot;)
  library(&quot;lattice&quot;)
  
  xyplot(tempData, min.observed ~ overall + slide + transfer, pch = 18, cex = 1)
  densityplot(tempData)
  </code></pre>
  <p><code>tempData</code> is my dataset with the imputed data. And <code>min.observed</code> is the variable which hat missing values and is imputed. Overall, <code>slide</code> and <code>transfer</code> are variables which had no missing values.</p>