draw-key {gggda} | R Documentation |
Key drawing functions for bivariate intervals.
Description
These key drawing functions supplement those built into ggplot2 for legend glyphs suitable to bivariate line-ranges and point-ranges.
Usage
draw_key_line(data, params, size)
draw_key_crosslines(data, params, size)
draw_key_crosspoint(data, params, size)
Arguments
data |
A single row data frame containing the scaled aesthetics to display in this key |
params |
A list of additional parameters supplied to the geom. |
size |
Width and height of key in mm. |
Details
draw_key_line()
is a horizontal counterpart to ggplot2::draw_key_vline()
.
draw_key_crosslines()
superimposes these two keys, and
draw_key_crosspoint()
additionally superimposes an oversized
ggplot2::draw_key_point()
.
Value
A grid grob.
See Also
ggplot2::draw_key for key glyphs installed with ggplot2.
[Package gggda version 0.1.1 Index]