Learn R Programming

⚠️There's a newer version (0.10.1) of this package.Take me there.

Formula interface to ggplot2

ggformula introduces a family of graphics functions, gf_point(), gf_density(), and so on, bring the formula interface to ggplot(). This captures and extends the excellent simplicity of the lattice-graphics formula interface, while providing the intuitive "add this component" capabilities of ggplot().

Installations from CRAN are done in the usual way. The development version of the package is here on GitHub. To install it, use the following commands in your R system.

# Install devtools if necessary
install.packages("devtools")

# Install statisticalModeling
devtools::install_github("projectMOSAIC/ggformula")

Copy Link

Version

Install

install.packages('ggformula')

Monthly Downloads

12,596

Version

0.4.0

License

MIT + file LICENSE

Maintainer

Randall Pruim

Last Published

June 21st, 2017

Functions in ggformula (0.4.0)

df_stats

Calculate basic statistics on a quantitative variable
gf_area

Formula interface to geom_area()
gf_labs

Non-layer functions for gf plots
gf_bar

Formula interface to geom_bar()
gf_crossbar

Formula interface to geom_crossbar()
gf_curve

Formula interface to geom_curve()
gf_boxplot

Formula interface to geom_boxplot()
gf_col

Formula interface to geom_col()
gf_contour

Formula interface to geom_contour()
gf_count

Formula interface to geom_count()
gf_errorbarh

Formula interface to geom_errorbarh()
gf_frame

Formula interface to geom_blank()
gf_dens

Formula interface to geom_line() and stat_density()
gf_point

Formula interface to geom_point()
gf_pointrange

Formula interface to geom_pointrange()
gf_freqpoly

Formula interface to geom_freqpoly()
gf_function

Layers displaying graphs of functions
gf_jitter

Formula interface to geom_jitter()
gf_label

Formula interface to geom_label()
gf_density

Formula interface to geom_density()
gf_qq

Formula interface to geom_qq()
gf_quantile

Formula interface to geom_quantile()
%>%

Pipe operator
gf_density2d

Formula interface to geom_density2d()
gf_density_2d

Formula interface to geom_density_2d()
gf_line

Formula interface to geom_line()
gf_linerange

Formula interface to geom_linerange()
gf_segment

Formula interface to geom_segment()
gf_smooth

Formula interface to geom_smooth()
gf_dotplot

Formula interface to geom_dotplot()
gf_errorbar

Formula interface to geom_errorbar()
gf_abline

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

Formula interface to geom_path()
gf_hex

Formula interface to geom_hex()
gf_histogram

Formula interface to geom_histogram()
gf_raster

Formula interface to geom_raster()
gf_rect

Formula interface to geom_rect()
gf_spline

Formula interface to geom_spline()
gf_spoke

Formula interface to geom_spoke()
gf_theme

Themes for ggformula
gf_ribbon

Formula interface to geom_ribbon()
gf_rug

Formula interface to geom_rug()
gf_step

Formula interface to geom_step()
gf_text

Formula interface to geom_text()
gf_violin

Formula interface to geom_violin()
ggformula

Formula interface to ggplot2
gf_tile

Formula interface to geom_tile()