Accelerating 'ggplot2'

The aim of 'ggplot2' is to aid in visual data investigations. This focus has led to a lack of facilities for composing specialised plots. 'ggforce' aims to be a collection of mainly new stats and geoms that fills this gap. All additional functionality is aimed to come through the official extension system so using 'ggforce' should be a stable experience.


ggforce

R-CMD-check CRAN_Release_Badge CRAN_Download_Badge Codecov testcoverage

Accelerating ggplot2

ggforce is a package aimed at providing missing functionality to ggplot2 through the extension system introduced with ggplot2 v2.0.0. Broadly speaking ggplot2 has been aimed primarily at explorative data visualization in order to investigate the data at hand, and less at providing utilities for composing custom plots a la D3.js. ggforce is mainly an attempt to address these “shortcomings” (design choices might be a better description). The goal is to provide a repository of geoms, stats, etc. that are as well documented and implemented as the official ones found in ggplot2.

Installation

You can install the released version of ggforce from CRAN with:

install.packages("ggforce")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("thomasp85/ggforce")

Features

ggforce is by design a collection of features with the only commonality being their tie to the ggplot2 API. Because of this an overview of all features would get too long for a README. The package has a website where every feature is described and justified with examples and plots. There should be a plot in the README of a visualization package though, so without further ado:

library(ggforce)
#> Loading required package: ggplot2
ggplot(iris, aes(Petal.Length, Petal.Width, colour = Species)) +
  geom_point() +
  facet_zoom(x = Species == "versicolor")

Code of Conduct

Please note that the ‘ggforce’ project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ggforce")

0.5.0 by Thomas Lin Pedersen, a year ago


https://ggforce.data-imaginist.com, https://github.com/thomasp85/ggforce


Report a bug at https://github.com/thomasp85/ggforce/issues


Browse source code at https://github.com/cran/ggforce


Authors: Thomas Lin Pedersen [cre, aut] (ORCID: , RStudio [cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports grid, scales, MASS, tweenr, gtable, rlang, polyclip, stats, grDevices, tidyselect, withr, utils, lifecycle, cli, vctrs, systemfonts

Depends on ggplot2

Suggests sessioninfo, deldir, latex2exp, reshape2, units, covr

Linking to cpp11


Imported by APackOfTheClones, BTSPAS, BayesianReasoning, Bchron, BioM2, CA3variants, Certara.RsNLME.ModelBuilder, GABB, GGEBiplots, GGoutlieR, GLMMcosinor, GNAR, GPflexViz, GimmeMyPlot, IPV, InterconectaR, LipidomicsR, NACHO, NeuralSens, PKbioanalysis, PepMapViz, PieGlyph, SHAPforxgboost, SPACO, UComp, VennItem, Xplortext, akc, bartXViz, causalplot, crm12Comb, deeptime, dgpsi, diy.sem.plot, dynamite, eVCGsampler, eclipseplot, eyetools, ferrn, flametree, fluxible, formods, funkyheatmap, geneticae, ggChinaFlag, ggInterval, ggPMX, ggauto, ggdiagram, ggraph, grasps, helixvis, henna, hlrhotrix, iraceplot, jtdm, klovan, kollaR, lame, ltc, mascarade, metan, metaprotr, monolix2rx, myClim, myTAI, nlmixr2plot, nlmixr2rpt, nonmem2rx, plot4fun, qcapower, rasterdiv, rusk, scatterpie, sgboost, shadowVIMP, siland, spatialGE, statgenHTP, statisR, tabularmaps, thisplot, topics, turkeyelections, walkboutr, webr, xpose.

Depended on by CAvariants, lmap.

Suggested by AlleleShift, BayesERtools, Coxmos, GGally, HotellingEllipse, MRG, Signac, SuperSurv, TmCalculator, aggreCAT, autograph, bartMan, bayesmove, biomes, cellGeometry, complexlm, cubble, ensr, epicmodel, fddm, ggformula, ggiraphExtra, ggpop, ggtibble, growthTrendR, httkexamples, industRial, meteospain, midnight, misl, morepls, papaja, pctax, plotthis, pointblank, protti, rinat, rpanel, sdmTMB, simDAG, snahelper, sspm, stars, tectonicr, textplot, tidycat, tidylearn, tsgc, whippr, wpeR, xmap.


See at CRAN