n> <span class="fu"><a href="https://rdrr.io/r/base/lapply.html">lapply</a></span><span class="op">(</span>
    <span class="va">group_xsplines</span>, 
    <span class="kw">function</span><span class="op">(</span><span class="va">coords</span><span class="op">)</span> <span class="fu">grid</span><span class="fu">::</span><span class="fu"><a href="https://rdrr.io/r/grid/grid.xspline.html">xsplineGrob</a></span><span class="op">(</span>x<span class="op">=</span><span class="va">coords</span><span class="op">