title: Export dicky-fuller test to latex table
body: <p>I'm running augmented Dicky-Fuller tests with <a href="https://cran.r-project.org/web/packages/urca/index.html" rel="nofollow noreferrer"><code>URCA</code></a> package. I've been searching a way to export the output showed by applying summary to the object created with <code>ur.df()</code>, however I haven't found anything so far. </p>
  
  <p>The output from summary shows me all what I need to export to a LaTeX table. </p>
  
  <p>I thought in creating a table taking the elements of the object but it is a S4 class which doesn't allow me to take elements of it. </p>
  
  <pre><code>## Dicky-Fuller test for Real Output 
  
  Y.df &lt;- ur.df(Y, type = "trend", selectlags = c("AIC"))
  
  summary(Y.df)
  </code></pre>