title: How to add imputed data (w/ aregImpute) to a data frame?
body: <p>My question is how do I go about adding the imputed data to the quakes.missing data frame? </p>
  
  <p>I've created a reproducible example below.</p>
  
  <pre><code>library(Hmisc)
  library(missForest) #load packages
  
  data("quakes") 
  quakes
  
  quakes.missing &lt;- prodNA(quakes, noNA = 0.1) #create missing values
  
  summary(is.na(quakes.missing)) #confirm that data is missing
  
  impute_quakes &lt;- aregImpute(~ lat + long + depth + mag + stations, data = quakes.missing, n.impute = 5)
  
  impute_quakes
  </code></pre>