rawn higher up are in the background. When
drawing multiple ridgelines at once, the <code>group</code> aesthetic
must be specified so that the geom knows which parts of the data belong
to which ridgeline.</p>
<div class="sourceCode" id="cb3"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="va">d</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span>
<spa