span>$<span class='no'>price</span>))</div><div class='output co'>#&gt; [1] 249</div><div class='input'><span class='no'>SPrail</span> <span class='kw'>&lt;-</span> <span class='no'>SPrail</span> <span class='kw'>%&gt;%</span>
  <span class='kw pkg'>dplyr</span><span class='kw ns'>::</span><span class='fu'><a href='https://dplyr.tidyverse.org/reference/mutate.html'>mutate</a></span>(<span class='kw'>price</span> <span class='kw'>=</span> <span class='fu'>panel_locf</span>(<span class='no'>price</span>,
    