ks for a list of values (usually, just <code>NA</code>) in a variable <code>.var</code> and overwrites those values with the most recent (or next-coming) values that are not from that list ("last observation carried forward").</p>
    </div>

    <pre class="usage"><span class='fu'>panel_locf</span>(
  <span class='no'>.var</span>,
  <span class='kw'>.df</span> <span class='kw'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/get.html'>get</a></span>(<span class='st'>"."</span>, <span class='kw'>en