Learn R Programming

⚠️There's a newer version (0.4.9) of this package.Take me there.

lemon (version 0.4.2)

Freshing Up your 'ggplot2' Plots

Description

Functions for working with legends and axis lines of 'ggplot2', facets that repeat axis lines on all panels, and some 'knitr' extensions.

Copy Link

Version

Install

install.packages('lemon')

Monthly Downloads

5,564

Version

0.4.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Stefan McKinnon Edwards

Last Published

October 30th, 2018

Functions in lemon (0.4.2)

facet_rep_grid

Repeat axis lines and labels across all facet panels
grid_arrange_shared_legend

Share a legend between multiple plots
gtable_show_grill

Visualise underlying gtable layout.
remove_labels_from_axis

Removes labels from axis grobs.
.dot

Create paths that are safe from changing working directory.
element_render

Render a ggplot2 grob or retrieve its gpar object.
as.lemon_plot

Lemon plots; ggplots with extended functionality.
reposition_legend

Reposition a legend onto a panel
coord_capped_cart

Cartesian coordinates with capped axis lines.
lemon_print

knitr extension: Always use `kable` for data frames.
coord_flex_cart

Cartesian coordinates with flexible options for drawing axes
geom_pointpath

Connected points
geom_siderange

Display range of data in side of plot
annotate_y_axis

Annotations in the axis
brackets_horizontal

Axis brackets instead of axis ticks and lines
get_panel_range

Version safe(r) method to get the y- and x-range from trained scales.
lemon-ggproto

ggproto classes used in lemon!
lemon

Freshing up your ggplots
waiver

The waivers are from ggplot2/R/utilities.r.
scale_x_symmetric

Symmetrix position scale for continuous x and y
g_legend

Extract ggplot legends
guidebox_as_column

Guidebox as a column
is.small

Is a given unit 'small'?