Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

draw_key

Horizontal key drawing functions


Description

Horizontal key drawing functions

Usage

draw_key_hpath(data, params, size)

draw_key_pointrangeh(data, params, size)

draw_key_crossbarh(data, params, size)

draw_key_boxploth(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.

Value

A grid grob.


ggstance

Horizontal 'ggplot2' Components

v0.3.5
GPL-3
Authors
Lionel Henry [aut, cre], Hadley Wickham [aut], Winston Chang [aut], RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.