Package: lemon 0.5.0

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.0.tar.gz
lemon_0.5.0.zip(r-4.5)lemon_0.5.0.zip(r-4.4)lemon_0.5.0.zip(r-4.3)
lemon_0.5.0.tgz(r-4.4-any)lemon_0.5.0.tgz(r-4.3-any)
lemon_0.5.0.tar.gz(r-4.5-noble)lemon_0.5.0.tar.gz(r-4.4-noble)
lemon_0.5.0.tgz(r-4.4-emscripten)lemon_0.5.0.tgz(r-4.3-emscripten)
lemon.pdf |lemon.html
lemon/json (API)

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

Peer review:

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

On CRAN:

axis-linesfacetsggplot-extensionggplot2knitrlegendticksvisualization

11.81 score 184 stars 2 packages 1.5k scripts 6.6k downloads 4 mentions 42 exports 36 dependencies

Last updated 10 days agofrom:08de81db42. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 13 2024
R-4.5-winOKNov 13 2024
R-4.5-linuxOKNov 13 2024
R-4.4-winOKNov 13 2024
R-4.4-macOKNov 13 2024
R-4.3-winOKNov 13 2024
R-4.3-macOKNov 13 2024

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:clicolorspaceevaluatefansifarverggplot2gluegridExtragtablehighrisobandknitrlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigplyrR6RColorBrewerRcpprlangscalestibbleutf8vctrsviridisLitewithrxfunyaml

Capping axis lines

Rendered fromcapped-axes.Rmdusingknitr::rmarkdownon Nov 13 2024.

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

Geoms in lemon

Rendered fromgeoms.Rmdusingknitr::rmarkdownon Nov 13 2024.

Last update: 2018-10-30
Started: 2018-02-23

Lemon print -- pretty printing data frames and tables

Rendered fromlemon_print.Rmdusingknitr::rmarkdownon Nov 13 2024.

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

Repeat axis lines on facet panels

Rendered fromfacet-rep-labels.Rmdusingknitr::rmarkdownon Nov 13 2024.

Last update: 2018-10-30
Started: 2017-09-21

Show gtable names and grill

Rendered fromgtable_show_lemonade.Rmdusingknitr::rmarkdownon Nov 13 2024.

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

Working with legends

Rendered fromlegends.Rmdusingknitr::rmarkdownon Nov 13 2024.

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

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