pan>
<span>                          k.ahead<span class="op">=</span><span class="fl">10</span>, </span>
<span>                          method<span class="op">=</span><span class="st">"ekf"</span>,</span>
<span><span class="op">)</span></span>
<span></span>
<span><span class="co"># Create plot all 10-step predictions against data</span></span>
<span><span class="va">pred</span> <span class="op">=</span> <span class="va">pred.list</span><span class="op">$</span><span class="va">states</span></span>
<span><s