Rdocumentation
powered by
Learn R Programming
lemon (version 0.5.1)
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
Link to current version
Version
Version
0.5.1
0.5.0
0.4.9
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.3.3
0.3.1
0.3.0
Install
install.packages('lemon')
Version
0.5.1
License
GPL-3
Issues
5
Pull Requests
1
Stars
192
Forks
13
Repository
https://github.com/stefanedwards/lemon
Maintainer
Stefan McKinnon Edwards
Last Published
July 22nd, 2025
Functions in lemon (0.5.1)
Search all functions
g_legend
Extract ggplot legends
reposition_legend
Reposition a legend onto a panel
scale_x_symmetric
Symmetrix position scale for continuous x and y
lemon-ggproto
ggproto classes used in lemon!
.dot
Create paths that are safe from changing working directory.
facet_rep_grid
Repeat axis lines and labels across all facet panels
geom_pointpath
Connected points
coord_flex_cart
Cartesian coordinates with flexible options for drawing axes
coord_capped_cart
Cartesian coordinates with capped axis lines.
annotate_y_axis
Annotations on the axis
guidebox_as_column
Guidebox as a column
gtable_show_grill
Visualise underlying gtable layout.
waiver
The waivers are from
ggplot2/R/utilities.r
.
grid_arrange_shared_legend
Share a legend between multiple plots
brackets_horizontal
Axis brackets instead of axis ticks and lines
is.small
Is a given unit 'small'?
geom_siderange
Display range of data in side of plot
lemon
Freshing up your ggplots
as.lemon_plot
Lemon plots; ggplots with extended functionality.
get_panel_range
Version safe(r) method to get the y- and x-range from trained scales.
lemon_print
knitr extension: Always use `kable` for data frames.
render_gpar
Render a ggplot2 grob or retrieve its gpar object.
remove_labels_from_axis
Removes labels from axis grobs.