lipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
</section>
<section id="in-reverse" class="slide level2">
<h2>In Reverse …</h2>
<div class="fragment">
<h4 id="points-sfc-to-4-linestring-sfc">4 POINTs (sfc) to 4 LINESTRING (sfc)</h4>
<div class="cell">
<div class="sourceCode cell-code" id="cb4"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb4-1"><a></a><span class="fu">st_cast</span>(p, <span class="st">"LINESTRING