Create Elegant Data Visualisations Using the Grammar of Graphics
Define aesthetic mappings programmatically
Given a character vector, create a set of identity mappings
Automatic aesthetic mapping
Colour related aesthetics: colour, fill, and alpha
Control aesthetic evaluation
Aesthetics: grouping
Differentiation related aesthetics: linetype, size, shape
Tailoring plots to particular data types
Create a complete ggplot appropriate to a particular data type
Benchmark plot creation time. Broken down into construct, build, rende...
Utilities for working with bidirectional layers
Binning scale constructor
Create a layer of map borders
Calculate the element properties, by inheriting properties from its pa...
Check graphics device capabilities
Take input data and define a mapping between faceting variables and RO...
Continuous scale constructor
Cartesian coordinates
Discretise numeric data into categorical
Date/time scale constructor
Cartesian coordinates with fixed "aspect ratio"
Cartesian coordinates with x and y flipped
Map projections
Munch coordinates data
Polar coordinates
Transformed Cartesian coordinate system
Absolute grob
Modify properties of an element in a theme object
Construct aesthetic mappings
Position related aesthetics: x, y, xmin, xmax, ymin, ymax, xend, yend
Create an annotation layer
Annotation: Custom grob
Annotation: log tick marks
Annotation: a map
Annotation: high-performance rectangular tiling
Convert a ggproto object to a list
Coerce to labeller function
Create a ggplot layer appropriate to a particular data type
Discrete scale constructor
Key glyphs for legends
Theme elements
Generate grid grob from theme element
Render a specified theme element into a grob
Expand the plot limits, using data
Generate expansion vector for scales
Lay out panels in a grid
Facet specification: a single panel.
Wrap a 1d ribbon of panels into 2d
Modify fill transparency
Find panels in a gtable
Fortify methods for objects produced by multcomp
Supplement the data fitted to a linear model with model fit statistics...
Fortify method for map objects
Fortify a model with data.
Fortify method for classes from the sp package.
Reference lines: horizontal, vertical, and diagonal
Bar charts
Heatmap of 2d bin counts
Draw nothing
A box and whiskers plot (in the style of Tukey)
2D contours of a 3D surface
Count overlapping points
Smoothed density estimates
Contours of a 2D density estimate
Dot plot
Horizontal error bars
Draw a function as a continuous curve
Hexagonal heatmap of 2d bin counts
Histograms and frequency polygons
Jittered points
Vertical intervals: lines, crossbars & errorbars
Polygons from a reference map
Connect observations
Points
Polygons
A quantile-quantile plot
Quantile regression
Ribbons and area plots
Rug plots in the margins
Line segments and curves
Smoothed conditional means
Line segments parameterised by location, direction and distance
Text
Rectangles
Violin plot
Extract alt text from a plot
Extract tick information from guides
Add components to a plot
Give a deprecation error, warning, or message, depending on version nu...
Create a new ggplot
Add custom objects to ggplot
Build ggplot for rendering.
Build a plot with all the usual bits and pieces.
Base ggproto classes for ggplot2
ggplot2: Create Elegant Data Visualisations Using the Grammar of Graph...
Generate a ggplot2 plot grob.
Create a new ggproto object
Save a ggplot (or other grid object) with sensible defaults
Visualise sf objects
Complete themes
Graphical units
Axis guide
Axis with logarithmic tick marks
Stacked axis guides
Angle axis guide
A binned version of guide_legend
Continuous colour bar guide
Discretized colourbar guide
Custom guides
Legend guide
Empty guide
Set guides for each scale
A selection of summary functions from Hmisc
Ignoring and exposing data
Is this object a coordinate system?
Is this object a faceting specification?
Reports whether x is a ggplot object
Reports whether x is a rel object
Reports whether x is a theme object
Label with mathematical expressions
Construct labelling specification
Useful labeller functions
Modify axis, legend, and plot labels
Retrieve the last plot to be modified or created.
Create a new layer
Layer geometry display
Layer position adjustments
Create a new sf layer that auto-maps geometry data
Layer statistical transformations
Generate correct scale type for specified limits
Set scale limits
Create a data frame of map data
Get the maximal width/length of a list of grobs
Calculate mean and standard error of the mean
Merge a parent element into a child element
Guide constructor
The previous S3 guide system
Modify transparency for patterns
Dodge overlapping objects side-to-side
Don't adjust position
Jitter points to avoid overplotting
Simultaneously dodge and jitter
Nudge points a fixed distance
Stack overlapping objects on top of each another
Explicitly draw plot
Format or print a ggproto object
Quick plot
Objects exported from other packages
Define and register new theme elements
Convenience function to remove missing values from a data.frame
Render panel axes
Render panel strips
Compute the "resolution" of a numeric vector
Alpha transparency scales
Positional scales for binning continuous data (x & y)
Sequential, diverging and qualitative colour scales from ColorBrewer
Continuous and binned colour scales
Discrete colour scales
Position scales for continuous data (x & y)
Position scales for date/time data
Position scales for discrete data
Gradient colour scales
Sequential grey colour scales
Evenly spaced colours for discrete data
Use values without scaling
Scale for line patterns
Scales for line width
Create your own discrete scale
Scales for shapes, aka glyphs
Scales for area or radius
Binned gradient colour scales
Determine default scale type
Viridis colour scales from viridisLite
Specify a secondary axis
Set the last plot to be fetched by lastplot()
Transform spatial position data
Used in examples to illustrate when errors should occur.
Standardise aesthetic names
Compute empirical cumulative distribution
Compute normal data ellipses
Leave data as is
Extract coordinates from 'sf' objects
Summarise y values at unique/binned x
Bin and summarise in 2d (rectangle & hexagons)
Remove duplicates
Summarise built plot objects
Displays a useful description of a ggplot object
Modify components of a theme
Get, set, and modify the active theme
Tidy eval helpers
Convenience function to transform all position variables.
Translating shape strings
Modify geom/stat aesthetic defaults for future plots
Update axis/legend labels
Quote faceting variables
A waiver object.
Arrange 1d structure into a grid
The zero grob draws nothing and has zero size.
A system for 'declaratively' creating graphics, based on "The Grammar of Graphics". You provide the data, tell 'ggplot2' how to map variables to aesthetics, what graphical primitives to use, and it takes care of the details.
Useful links