Learn R Programming

ggformula (version 2.0.0)

Formula Interface to the Grammar of Graphics

Description

Provides a formula interface to 'ggplot2' graphics.

Copy Link

Version

Install

install.packages('ggformula')

Monthly Downloads

10,695

Version

2.0.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Randall Pruim

Last Published

September 11th, 2026

Functions in ggformula (2.0.0)

gf_boxplot

Formula interface to geom_boxplot()
gf_col_interactive

Interactive column charts
gf_boxplot_interactive

Interactive box plots
gf_bar

Formula interface to geom_bar()
gf_blank

Formula interface to geom_blank()
gf_col

Formula interface to geom_col()
gf_bin2d

Formula interface to geom_bin2d()
gf_bin_2d_interactive

Interactive bin_2d plots
gf_bin2d_interactive

Interactive bin2d plots
gf_bar_interactive

Interactive bar charts
gf_contour

Formula interface to geom_contour() and geom_contour_filled()
gf_curve

Formula interface to geom_curve()
gf_count

Formula interface to geom_count()
gf_crossbar_interactive

Interactive crossbar plots
gf_density

Formula interface to stat_density()
gf_crossbar

Formula interface to geom_crossbar()
gf_curve_interactive

Interactive curve plots
gf_density_2d_filled_interactive

Interactive 2-demensional density plots
gf_count_interactive

Interactive count plots
gf_contour_filled_interactive

Interactive 2-demensional contour plots
gf_dotplot_interactive

Interactive dotplot plots
gf_density_interactive

Interactive density plots
gf_dist

Plot distributions
gf_errorbar

Formula interface to geom_errorbar()
gf_ellipse

Formula interface to stat_ellipse()
gf_empty

Create an "empty" plot
gf_dotplot

Formula interface to geom_dotplot()
gf_errorbar_interactive

Interactive errorbar plots
gf_density_2d

Formula interface to geom_density_2d() and geom_density_2d_filled()
gf_ecdf

Formula interace to empirical cumulative distribution
gf_fitdistr

Plot density function based on fit to data
gf_girafe

Render interactive ggformula plots
gf_freqpoly_interactive

Interactive freqpoly plots
gf_guides

Guides for ggformula
gf_hex

Formula interface to geom_hex()
gf_facet_wrap

Add facets to a plot
gf_freqpoly

Formula interface to geom_freqpoly()
gf_hex_interactive

Interactive hex plots
gf_function_2d

Plot functions of two variables
gf_function

Layers displaying graphs of functions
gf_histogram

Formula interface to geom_histogram()
gf_labeller_interactive

Create interactive labeller
gf_histogram_interactive

Interactive histograms
gf_line_interactive

Interactive line plots
gf_linerange

Formula interface to geom_linerange() and geom_pointrange()
gf_jitter

Formula interface to geom_jitter()
gf_label_interactive

Interactive text labels
gf_line

Formula interface to geom_line() and geom_path()
gf_hline_interactive

Interactive horizontal lines
gf_jitter_interactive

Interactive jitter plots
gf_point

Formula interface to geom_point()
gf_linerange_interactive

Interactive linerange plots
gf_pointrange_interactive

Interactive pointrange plots
gf_polygon_interactive

Interactive polygon plots
gf_qq

Formula interface to geom_qq()
gf_polygon

Formula interface to geom_polygon()
gf_path_interactive

Interactive path plots
gf_plot

Formula interface to ggplot()
gf_point_interactive

Interactive scatter plots
gf_abline

Reference lines -- horizontal, vertical, and diagonal.
gf_relabel

Modify plot labeling
gf_quantile

Formula interface to geom_quantile()
gf_quantile_interactive

Interactive quantile plots
gf_rug

Formula interface to geom_rug()
gf_ribbon_interactive

Interactive ribbon plots
gf_rect

Formula interface to geom_rect()
gf_rect_interactive

Interactive rect plots
gf_raster_interactive

Interactive raster plots
gf_raster

Formula interface to geom_raster()
gf_ribbon

Formula interface to geom_ribbon()
gf_smooth_interactive

Interactive smoothed conditional means
gf_segment

Formula interface to geom_segment()
gf_sina

Formula interface to geom_sina()
gf_smooth

Formula interface to geom_smooth()
gf_sf_interactive

Interactive sf plots
gf_spoke_interactive

Interactive spoke plots
gf_spline

Formula interface to geom_spline()
gf_step

Formula interface to geom_step()
gf_spoke

Formula interface to geom_spoke()
gf_sf

Mapping with shape files
gf_tile

Formula interface to geom_tile()
gf_violin_interactive

Interactive violin plots
gf_violin

Formula interface to geom_violin()
gf_step_interactive

Interactive step plots
gf_text_interactive

Interactive text annotations
gf_theme

Themes for ggformula
gf_tile_interactive

Interactive tile plots
gf_text

Formula interface to geom_text() and geom_label()
StatAsh

ggproto classes for ggplot2
gf_vline_interactive

Interactive vertical lines
interactive_facets

Interactive facets
get_variable_labels

Set and extract labels from a labeled object
reexports

Objects exported from other packages
gf_barh

Deprecated horizontal plotting functions
layer_factory

Create a ggformula layer function
gf_ridgeline

Formula interface to ggridges plots
ggformula_spec

Retrieve the specification used to build a gf_* function
interactive_layer_factory

Create an interactive ggformula layer function
percs_by_group

Compute groupwise proportions and percents
ggformula

Formula interface to ggplot2
theme_facets_interactive

Interactive theme for ggiraph facets
stat_qqline

A Stat for Adding Reference Lines to QQ-Plots
stat_fitdistr

A stat for fitting distributions
gf_abline_interactive

Interactive reference lines
stat_lm

Linear Model Displays
MIpop

Population of Michigan counties
gf_area

Formula interface to geom_area()
gf_labs

Non-layer functions for gf plots
stat_spline

Geoms and stats for spline smoothing
gf_area_interactive

Interactive area plots
discrete_breaks

Discrete Breaks
gf_ash

Average Shifted Histograms
gf_annotate

Add an annotation layer to a graphic