ggfun provides a collection of extensions and utilities for working with
ggplot2 objects. It includes additional
geometric layers, theme elements, legend helpers, plot-data utilities, and tools
for modifying plot objects.
Install the released version from CRAN:
install.packages("ggfun")You can install the development version from GitHub with:
## install.packages("remotes")
remotes::install_github("YuLab-SMU/ggfun")- Additional geoms, including
geom_xspline(),geom_hist(),geom_cake(),geom_triangle(),geom_segment_c(), andgeom_volpoint(). - Theme helpers such as
theme_noaxis(),theme_noxaxis(),theme_noyaxis(),theme_transparent(),theme_nothing(), andtheme_blinds(). - Custom theme elements, including
element_roundrect()andelement_blinds(). - Legend and font utilities such as
get_legend(),gglegend(),set_font(), andset_point_legend_shape(). - Plot manipulation helpers, including
facet_set(),get_plot_data(),get_aes_var(),xrange(),yrange(), andggrange(). - Utilities for tree-data style workflows, including
%<+%,td_filter(),td_mutate(), andtd_unnest().
- GitHub: https://github.com/YuLab-SMU/ggfun
- Bug reports: https://github.com/YuLab-SMU/ggfun/issues