ass="external-link">BoxCox.lambda</a></span><span class="op">(</span><span class="va">train</span><span class="op">)</span><span class="op">)</span>, h <span class="op">=</span> <span class="va">h</span><span class="op">)</span></span>
<span class="r-in"></span>
<span class="r-in"><span class="co"># Plot the fitted and forecasted vs the actual values</span></span>
<span class="r-in"><span class="fu">res_hist</span><span class="op">(</span>forecast.obj <span class="op">=</span> <span class="va">fc</span><spa