Package: lemon 0.5.2

lemon: Freshing Up your 'ggplot2' Plots

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

Authors:Stefan McKinnon Edwards [aut, ctb, cre], Baptiste Auguie [ctb], Shaun Jackman [ctb], Hadley Wickham [ctb], Winston Chang [ctb]

lemon_0.5.2.tar.gz
lemon_0.5.2.zip(r-4.7)lemon_0.5.2.zip(r-4.6)lemon_0.5.2.zip(r-4.5)
lemon_0.5.2.tgz(r-4.6-any)lemon_0.5.2.tgz(r-4.5-any)
lemon_0.5.2.tar.gz(r-4.7-any)lemon_0.5.2.tar.gz(r-4.6-any)
lemon_0.5.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
lemon/json (API)

# Install 'lemon' in R:
install.packages('lemon', repos = c('https://stefanedwards.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/stefanedwards/lemon/issues

On CRAN:

Conda:

axis-linesfacetsggplot-extensionggplot2knitrlegendticksvisualization

12.34 score 195 stars 7 packages 2.0k scripts 11k downloads 4 mentions 42 exports 26 dependencies

Last updated from:ee7ae8d060. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK159
source / vignettesOK197
linux-release-x86_64OK163
macos-release-arm64OK221
macos-oldrel-arm64OK201
windows-develOK125
windows-releaseOK97
windows-oldrelOK121
wasm-releaseOK118

Exports:.dot.dot2annotate_x_axisannotate_y_axisas.lemon_plotbrackets_horisontalbrackets_horizontalbrackets_verticalcapped_horisontalcapped_horizontalcapped_verticalcoord_capped_cartcoord_capped_flipcoord_flex_cartcoord_flex_fixedcoord_flex_flipCoordFlexCartesianCoordFlexFixedCoordFlexFlippedfacet_rep_gridfacet_rep_wrapFacetGridRepeatLabelsFacetWrapRepeatLabelsg_legendgeom_pointlinegeom_pointpathgeom_siderangeGeomPointLineGeomPointPathGeomSideRangeget_panel_paramsget_panel_x_rangeget_panel_y_rangegrid_arrange_shared_legendgtable_show_grillgtable_show_namesguidebox_as_columnlemon_printrender_gparreposition_legendscale_x_symmetricscale_y_symmetric

Dependencies:clicpp11evaluatefarverggplot2gluegridExtragtablehighrisobandknitrlabelinglatticelifecycleplyrR6RColorBrewerRcpprlangS7scalesvctrsviridisLitewithrxfunyaml

Geoms in lemon
geom_pointpath | lemon and ggh4x | geom_siderange

Last update: 2025-09-04
Started: 2018-02-23

Lemon print -- pretty printing data frames and tables
It uses kable | Why does it matter | Other objects covered | dplyr

Last update: 2025-09-04
Started: 2017-05-18

Working with legends
Legend functions | Reposition legend onto plotting panel | Multiple legends per guide | Legends are placed under axis lines | Placing the legend in facets | Shared legend across multiple plot | Shared legend with grid.arrange | More examples | Complex layout with grid_arrange_shared_legend | Plot for ggplot2-extensions | Acknowledgements | Footnotes

Last update: 2025-09-04
Started: 2017-04-27

Repeat axis lines on facet panels
Translating between lemon's and ggh4x' facets

Last update: 2025-07-22
Started: 2017-09-21

Capping axis lines
Demonstration | The coord objects | The axis drawing functions | Brackets | Facets | Scales

Last update: 2022-12-02
Started: 2017-04-27

Show gtable names and grill

Last update: 2022-12-02
Started: 2017-05-18

Readme and manuals

Help Manual

Help pageTopics
Create paths that are safe from changing working directory..dot .dot2
Annotations on the axisannotate_x_axis annotate_y_axis
Axis brackets instead of axis ticks and linesbrackets_horisontal brackets_horizontal brackets_vertical
Cartesian coordinates with capped axis lines.capped_horisontal capped_horizontal capped_vertical coord_capped_cart coord_capped_flip
Cartesian coordinates with flexible options for drawing axescoord_flex_cart coord_flex_fixed coord_flex_flip
Repeat axis lines and labels across all facet panelsfacet_rep_grid facet_rep_wrap
Extract ggplot legendsg_legend
Connected pointsgeom_pointline geom_pointpath geom_pointrangeline
Display range of data in side of plotgeom_siderange
Version safe(r) method to get the y- and x-range from trained scales.get_panel_params get_panel_range get_panel_x_range get_panel_y_range
Share a legend between multiple plotsgrid_arrange_shared_legend
Visualise underlying gtable layout.gtable_show_grill gtable_show_names
Guidebox as a columnguidebox_as_column
Is a given unit 'small'?is.small
Freshing up your ggplotslemon-package lemon
knitr extension: Always use `kable` for data frames.lemon_print lemon_print.data.frame lemon_print.table
Removes labels from axis grobs.remove_labels_from_axis
Reposition a legend onto a panelreposition_legend
Symmetrix position scale for continuous x and yscale_x_symmetric scale_y_symmetric