Remove tails and keep median lines using ggridges
I am making a density plot using the R package ggridges
. I want to remove the long tails produced by the geom_density_ridges(...)
function and keep the vertical median lines produced by the stat_density_ridges(...)
function. Is this possible?