Package: ggformula 1.0.1

Randall Pruim

ggformula: Formula Interface to the Grammar of Graphics

Provides a formula interface to 'ggplot2' graphics.

Authors:Daniel Kaplan [aut], Randall Pruim [aut, cre]

ggformula_1.0.1.tar.gz
ggformula_1.0.1.zip(r-4.7)ggformula_1.0.1.zip(r-4.6)ggformula_1.0.1.zip(r-4.5)
ggformula_1.0.1.tgz(r-4.6-any)ggformula_1.0.1.tgz(r-4.5-any)
ggformula_1.0.1.tar.gz(r-4.7-any)ggformula_1.0.1.tar.gz(r-4.6-any)
ggformula_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
ggformula/json (API)
NEWS

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

Bug tracker:https://github.com/projectmosaic/ggformula/issues

Datasets:
  • MIpop - Population of Michigan counties

On CRAN:

Conda:

quarto

13.10 score 38 stars 22 packages 2.3k scripts 20k downloads 2 mentions 179 exports 74 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64OK290
source / vignettesOK285
linux-release-x86_64OK280
macos-release-arm64OK270
macos-oldrel-arm64OK278
windows-develOK276
windows-releaseOK273
windows-oldrelOK302
wasm-releaseOK143

Exports:df_statsdiscrete_breaksgeom_ashgeom_lmgeom_splineGeomLmget_variable_labelsgf_ablinegf_abline_interactivegf_annotategf_areagf_area_interactivegf_ashgf_bargf_bar_interactivegf_barhgf_bin_2dgf_bin_2d_interactivegf_bin2dgf_bin2d_interactivegf_blankgf_boxplotgf_boxplot_interactivegf_boxplothgf_coeflinegf_colgf_col_interactivegf_colhgf_contourgf_contour_filledgf_contour_filled_interactivegf_contour_interactivegf_countgf_count_interactivegf_countsgf_countshgf_crossbargf_crossbar_interactivegf_crossbarhgf_curvegf_curve_interactivegf_densgf_dens2gf_densitygf_density_2dgf_density_2d_filledgf_density_2d_filled_interactivegf_density_2d_interactivegf_density_interactivegf_density_ridgeline_gradientgf_density_ridgesgf_density_ridges_gradientgf_density_ridges2gf_density2dgf_density2d_filledgf_density2d_filled_interactivegf_density2d_interactivegf_dhistogramgf_distgf_dotplotgf_dotplot_interactivegf_ecdfgf_ellipsegf_emptygf_errorbargf_errorbar_interactivegf_errorbarhgf_facet_gridgf_facet_grid_interactivegf_facet_wrapgf_facet_wrap_interactivegf_fitdistrgf_framegf_freqpolygf_freqpoly_interactivegf_fungf_fun_2dgf_fun_contourgf_fun_tilegf_fun2dgf_functiongf_function_2dgf_function_contourgf_function_tilegf_function2dgf_girafegf_guidesgf_hexgf_hex_interactivegf_histogramgf_histogram_interactivegf_hlinegf_hline_interactivegf_jittergf_jitter_interactivegf_labelgf_label_interactivegf_labeller_interactivegf_labsgf_limsgf_linegf_line_interactivegf_linerangegf_linerange_interactivegf_linerangehgf_lmgf_pathgf_path_interactivegf_percentsgf_percentshgf_plotgf_pointgf_point_interactivegf_pointrangegf_pointrange_interactivegf_pointrangehgf_polygongf_polygon_interactivegf_propsgf_propshgf_qqgf_qqlinegf_qqstepgf_quantilegf_quantile_interactivegf_rastergf_raster_interactivegf_rectgf_rect_interactivegf_refinegf_relabelgf_ribbongf_ribbon_interactivegf_ridgelinegf_ruggf_rugxgf_rugygf_segmentgf_segment_interactivegf_sfgf_sf_interactivegf_sinagf_smoothgf_smooth_interactivegf_splinegf_spokegf_spoke_interactivegf_stepgf_step_interactivegf_summarygf_textgf_text_interactivegf_themegf_tilegf_tile_interactivegf_violingf_violin_interactivegf_violinhgf_vlinegf_vline_interactivelayer_factorymakeFunna.warnpercs_by_groupprops_by_groupset_variable_labelsstat_ashstat_fitdistrstat_lmstat_qqlinestat_splineStatAshStatFitdistrStatLmStatQqlineStatSplinetheme_facets_interactivevar_labelvar_label<-

Dependencies:base64encbitbit64bslibcachemclicliprcpp11crayondigestdplyrevaluatefarverfastmapfontawesomefontBitstreamVerafontLiberationfontquiverforcatsfsgdtoolsgenericsggiraphggplot2ggridgesgluegtablehavenhighrhmshtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglabelledlifecyclemagrittrMASSmemoisemimemosaicCorepillarpkgconfigprettyunitsprogresspurrrR6rappdirsRColorBrewerRcppreadrrlangrmarkdownS7sassscalesstringistringrsystemfontstibbletidyrtidyselecttinytextzdbutf8vctrsviridisLitevroomwithrxfunyaml

Formula Interface to {ggplot2}

Rendered fromggformula.qmdusingquarto::htmlon May 17 2026.

Last update: 2025-08-22
Started: 2025-08-22

Interactive graphics with {ggformula}

Rendered frominteractive-graphics.qmdusingquarto::htmlon May 17 2026.

Last update: 2025-10-08
Started: 2025-08-20

Readme and manuals

Help Manual

Help pageTopics
Discrete Breaksdiscrete_breaks
Set and extract labels from a labeled objectget_variable_labels
Reference lines - horizontal, vertical, and diagonal.gf_abline gf_coefline gf_hline gf_vline
Interactive reference linesgf_abline_interactive
Add an annotation layer to a graphicgf_annotate
Formula interface to geom_area()gf_area
Interactive area plotsgf_area_interactive
Average Shifted Histogramsgeom_ash gf_ash stat_ash
Formula interface to geom_bar()gf_bar gf_counts gf_percents gf_props
Interactive bar chartsgf_bar_interactive
Deprecated horizontal plotting functionsgf_barh gf_boxploth gf_colh gf_countsh gf_crossbarh gf_errorbarh gf_linerangeh gf_percentsh gf_pointrangeh gf_propsh gf_violinh ggstance
Interactive bin_2d plotsgf_bin_2d_interactive
Formula interface to geom_bin2d()gf_bin2d gf_bin_2d
Interactive bin2d plotsgf_bin2d_interactive
Formula interface to geom_blank()gf_blank gf_frame
Formula interface to geom_boxplot()gf_boxplot
Interactive box plotsgf_boxplot_interactive
Formula interface to geom_col()gf_col
Interactive column chartsgf_col_interactive
Formula interface to geom_contour() and geom_contour_filled()gf_contour gf_contour_filled
Interactive 2-demensional contour plotsgf_contour_filled_interactive gf_contour_interactive
Formula interface to geom_count()gf_count
Interactive count plotsgf_count_interactive
Formula interface to geom_crossbar()gf_crossbar
Interactive crossbar plotsgf_crossbar_interactive
Formula interface to geom_curve()gf_curve
Interactive curve plotsgf_curve_interactive gf_segment_interactive
Formula interface to stat_density()gf_dens gf_dens2 gf_density
Formula interface to geom_density_2d() and geom_density_2d_filled()gf_density2d gf_density2d_filled gf_density_2d gf_density_2d_filled
Interactive 2-demensional density plotsgf_density2d_filled_interactive gf_density2d_interactive gf_density_2d_filled_interactive gf_density_2d_interactive
Interactive density plotsgf_density_interactive
Plot distributionsgf_dist
Formula interface to geom_dotplot()gf_dotplot
Interactive dotplot plotsgf_dotplot_interactive
Formula interace to empirical cumulative distributiongf_ecdf
Formula interface to stat_ellipse()gf_ellipse
Create an "empty" plotgf_empty
Formula interface to geom_errorbar()gf_errorbar
Interactive errorbar plotsgf_errorbar_interactive
Add facets to a plotgf_facet_grid gf_facet_wrap
Plot density function based on fit to datagf_fitdistr
Formula interface to geom_freqpoly()gf_freqpoly
Interactive freqpoly plotsgf_freqpoly_interactive
Layers displaying graphs of functionsgf_fun gf_function
Plot functions of two variablesgf_fun2d gf_function2d gf_function_2d gf_function_contour gf_function_tile gf_fun_2d gf_fun_contour gf_fun_tile
Render interactive ggformula plotsgf_girafe
Guides for ggformulagf_guides
Formula interface to geom_hex()gf_hex
Interactive hex plotsgf_hex_interactive
Formula interface to geom_histogram()gf_dhistogram gf_histogram
Interactive histogramsgf_histogram_interactive
Interactive horizontal linesgf_hline_interactive
Formula interface to geom_jitter()gf_jitter
Interactive jitter plotsgf_jitter_interactive
Interactive text labelsgf_label_interactive
Create interactive labellergf_labeller_interactive
Non-layer functions for gf plotsgf_labs gf_lims gf_refine
Formula interface to geom_line() and geom_path()gf_line gf_path
Interactive line plotsgf_line_interactive
Formula interface to geom_linerange() and geom_pointrange()gf_linerange gf_pointrange gf_summary
Interactive linerange plotsgf_linerange_interactive
Interactive path plotsgf_path_interactive
Formula interface to ggplot()gf_plot
Formula interface to geom_point()gf_point
Interactive scatter plotsgf_point_interactive
Interactive pointrange plotsgf_pointrange_interactive
Formula interface to geom_polygon()gf_polygon
Interactive polygon plotsgf_polygon_interactive
Formula interface to geom_qq()gf_qq gf_qqline gf_qqstep
Formula interface to geom_quantile()gf_quantile
Interactive quantile plotsgf_quantile_interactive
Formula interface to geom_raster()gf_raster
Interactive raster plotsgf_raster_interactive
Formula interface to geom_rect()gf_rect
Interactive rect plotsgf_rect_interactive
Modify plot labelinggf_relabel print.gf_ggplot
Formula interface to geom_ribbon()gf_ribbon
Interactive ribbon plotsgf_ribbon_interactive
Formula interface to ggridges plotsgf_density_ridgeline_gradient gf_density_ridges gf_density_ridges2 gf_density_ridges_gradient gf_ridgeline
Formula interface to geom_rug()gf_rug gf_rugx gf_rugy
Formula interface to geom_segment()gf_segment
Mapping with shape filesgf_sf
Interactive sf plotsgf_sf_interactive
Formula interface to geom_sina()gf_sina
Formula interface to geom_smooth()gf_lm gf_smooth
Interactive smoothed conditional meansgf_smooth_interactive
Formula interface to geom_spline()gf_spline
Formula interface to geom_spoke()gf_spoke
Interactive spoke plotsgf_spoke_interactive
Formula interface to geom_step()gf_step
Interactive step plotsgf_step_interactive
Formula interface to geom_text() and geom_label()gf_label gf_text
Interactive text annotationsgf_text_interactive
Themes for ggformulagf_theme
Formula interface to geom_tile()gf_tile
Interactive tile plotsgf_tile_interactive
Formula interface to geom_violin()gf_violin
Interactive violin plotsgf_violin_interactive
Interactive vertical linesgf_vline_interactive
Interactive facetsgf_facet_grid_interactive gf_facet_wrap_interactive interactive_facets
Create an interactive ggformula layer functioninteractive_layer_factory
Create a ggformula layer functionlayer_factory
Population of Michigan countiesMIpop
Compute groupwise proportions and percentspercs_by_group props_by_group
A stat for fitting distributionsstat_fitdistr
Linear Model Displaysgeom_lm stat_lm
A Stat for Adding Reference Lines to QQ-Plotsstat_qqline
Geoms and stats for spline smoothinggeom_spline stat_spline
ggproto classes for ggplot2GeomLm StatAsh StatFitdistr StatLm StatQqline StatSpline
Interactive theme for ggiraph facetstheme_facets_interactive