Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (0.4.9) of this package.
Take me there.
lemon (version 0.4.5)
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.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')
Monthly Downloads
6,228
Version
0.4.5
License
GPL-3
Issues
5
Pull Requests
0
Stars
184
Forks
11
Repository
https://github.com/stefanedwards/lemon
Maintainer
Stefan McKinnon Edwards
Last Published
June 8th, 2020
Functions in lemon (0.4.5)
Search all functions
g_legend
Extract ggplot legends
lemon-ggproto
ggproto classes used in lemon!
guidebox_as_column
Guidebox as a column
is.small
Is a given unit 'small'?
lemon_print
knitr extension: Always use `kable` for data frames.
scale_x_symmetric
Symmetrix position scale for continuous x and y
as.lemon_plot
Lemon plots; ggplots with extended functionality.
gtable_show_grill
Visualise underlying gtable layout.
grid_arrange_shared_legend
Share a legend between multiple plots
lemon
Freshing up your ggplots
get_panel_range
Version safe(r) method to get the y- and x-range from trained scales.
reposition_legend
Reposition a legend onto a panel
remove_labels_from_axis
Removes labels from axis grobs.
geom_pointpath
Connected points
coord_capped_cart
Cartesian coordinates with capped axis lines.
coord_flex_cart
Cartesian coordinates with flexible options for drawing axes
brackets_horizontal
Axis brackets instead of axis ticks and lines
waiver
The waivers are from
ggplot2/R/utilities.r
.
annotate_y_axis
Annotations in the axis
element_render
Render a ggplot2 grob or retrieve its gpar object.
facet_rep_grid
Repeat axis lines and labels across all facet panels
.dot
Create paths that are safe from changing working directory.
geom_siderange
Display range of data in side of plot