Learn R Programming

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

lemon (version 0.4.3)

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

6,228

Version

0.4.3

License

GPL-3

Issues

Pull Requests

Stars

Forks

Last Published

January 8th, 2019

Functions in lemon (0.4.3)

scale_x_symmetric

Symmetrix position scale for continuous x and y
get_panel_range

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

Share a legend between multiple plots
reposition_legend

Reposition a legend onto a panel
gtable_show_grill

Visualise underlying gtable layout.
is.small

Is a given unit 'small'?
g_legend

Extract ggplot legends
guidebox_as_column

Guidebox as a column
remove_labels_from_axis

Removes labels from axis grobs.
as.lemon_plot

Lemon plots; ggplots with extended functionality.
lemon_print

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

Freshing up your ggplots
lemon-ggproto

ggproto classes used in lemon!
waiver

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

Cartesian coordinates with capped axis lines.
element_render

Render a ggplot2 grob or retrieve its gpar object.
.dot

Create paths that are safe from changing working directory.
facet_rep_grid

Repeat axis lines and labels across all facet panels
annotate_y_axis

Annotations in the axis
brackets_horizontal

Axis brackets instead of axis ticks and lines
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