lemon (version 0.4.3)

lemon: Freshing up your ggplots

Description

Collection of misc. functions for changing subtle aspects of ggplots. Works mostly on gtables produced prior to printing.

Arguments

Functions for axis

See coord_capped_cart and coord_flex_cart. The latter is a shorthand version of the former. It automatically uses capped_horizontal and capped_vertical, but both accepts these as well as brackets_horizontal and brackets_vertical.

Legends

Extract legend

g_legend

Many plots, one legend

grid_arrange_shared_legend

Place legend exactly on plot

reposition_legend

Facets

facet_rep_grid and facet_rep_wrap are extensions to the wellknown facet_grid and facet_wrap where axis lines and labels are drawn on all panels.

Extending knitr

We automatically load knitr's knit_print for data frames and dplyr tables to provide automatic pretty printing of data frame using kable.

See lemon_print or vignette('lemon_print', 'lemon').

Relative paths safe from hanging directory: .dot.

See Also

Useful links: