s="op">)</span>, alpha <span class="op">=</span> <span class="fl">0.7</span><span class="op">)</span></span></code></pre></div>
<p><img src="introduction_files/figure-html/unnamed-chunk-16-1.png" width="700"></p>
<p>Using the geom <code>geom_density_ridges_gradient</code> we can also
color by quantile, via the calculated <code>stat(quantile)</code>
aesthetic. Note that this aesthetic is only calculated if
<code>calc_ecdf = TRUE</code>.</p>
<div class="sourceCode" id="cb19"><pre class="downlit sourceCode r">