Add a horizontal or vertical baseline to a plot. This adds the baseline under most layers.
1 | add_baseline(gg, direction, intercept)
|
gg |
The ggplot object on which to add a baseline |
direction |
The direction on which to add the baseline: |
intercept |
The location on which to add the line (usually a dimension factor or a measure) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.