Provides a collection of 'ggplot2' extensions and utilities for creating geometric layers, applying themes, working with legends, and modifying plot objects.
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")
geom_xspline(), geom_hist(), geom_bezier(),
geom_cake(), geom_triangle(), and geom_segment_c().theme_noaxis(), theme_noxaxis(),
theme_noyaxis(), theme_transparent(), theme_nothing(), and
theme_blinds().element_roundrect() and
element_blinds().get_legend(), gglegend(),
set_font(), and set_point_legend_shape().facet_set(), get_plot_data(),
get_aes_var(), xrange(), yrange(), and ggrange().%<+%, td_filter(),
td_mutate(), and td_unnest().