n_center &lt;-<span class="st"> </span>mn_sf <span class="op">%&gt;%</span></span>
<span id="cb96-22"><a href="editing-views.html#cb96-22"></a><span class="st">  </span><span class="kw">st_centroid</span>() <span class="op">%&gt;%</span></span>
<span id="cb96-23"><a href="editing-views.html#cb96-23"></a><span class="st">  </span><span class="kw">mutate</span>(</span>
<span id="cb96-24"><a href="editing-views.html#cb96-24"></a>    <span class="dt">x =</span> <span class="kw">map_dbl</span>(geometry, <span cl