GGPlot Multiple Label for Swimmer Lane
<p><strong>Background Story</strong>: One day, my manager asked me if I could have labels for Censor, Response, and Dose groups on one graph.<br />
The trick to generating multiple labels for one graph is to create individual labels first and paste them together in the final plot.</p>
<ol>
<li>Create the bar plot(<strong>geom_bar</strong>) and save the Cohort label using <strong>get_legend</strong></li>
<li>Create the scatter plot(<strong>geom_point</strong>) and only save the Response label using <strong>get_legend</strong></li>
</ol>
<p><a href="https://blog.devgenius.io/ggplot-multiple-label-for-swimmer-lane-b094f188c401"><strong>Click Here</strong></a></p>