title: the package tsDyn NNET function
body: <p>I am a new beginner in R, recently, I use the NNET function in the package of tsDyn, when I load two packages <code>tidyquant</code> and <code>tsDyn</code> simultaneously, there is a mistake when I just run the the code of examples in the package <code>tsDyn</code>. I don't how to solve this problem.</p>
  
  <pre><code>library(tidyquant)
  library(tsDyn)
  mod.nnet &lt;- nnetTs(log(lynx), m=2, size=3)
  mod.nnet 
  </code></pre>
  
  <blockquote>
    <p>Error: <code>x</code> must be a vector, not a ts object, do you want <code>stats::lag()</code>?</p>
  </blockquote>