View source: R/geom-arearange.R
| gg_arearange | R Documentation |
Returns a list of ggplot2 layers (ribbon + optional centre line + points)
that the ggplot2 engine adds to the base figure. Not intended to be called
directly; use hd_geom_arearange() or hd_make(..., type = "arearange").
gg_arearange(spec, opts, geom_params)
spec |
An |
opts |
An |
geom_params |
Named list of geom-specific arguments (see above). |
A list of ggplot2 layer objects.
yminCharacter. Required. Column name for the lower bound.
ymaxCharacter. Required. Column name for the upper bound.
show_lineLogical. Draw a centre line + open-circle points on top
of the ribbon. Default TRUE.
single_colourCharacter or NULL. Fixed hex colour injected by
the ggplot2 engine for single-series figures. NULL for multi-series
figures (colour is handled by apply_gg_colors()).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.