Modify properties of an element in a theme object
Given a character vector, create a set of identity mappings
Colour related aesthetics: colour, fill, and alpha
Differentiation related aesthetics: linetype, size, shape
Position related aesthetics: x, y, xmin, xmax, ymin, ymax, xend, yend
Create a ggplot layer appropriate to a particular data type
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, render and draw times.
Utilities for working with bidirectional layers
Calculate the element properties, by inheriting properties from its parents
Take input data and define a mapping between faceting variables and ROW, COL and PANEL keys
Cartesian coordinates with fixed "aspect ratio"
Cartesian coordinates with x and y flipped
Discretise numeric data into categorical
Prices of over 50,000 round cut diamonds
Render a specified theme element into a grob
2d density estimate of Old Faithful data
Fortify methods for objects produced by 'multcomp'
Supplement the data fitted to a linear model with model fit statistics.
Fortify method for classes from the sp package.
Reference lines: horizontal, vertical, and diagonal
A box and whiskers plot (in the style of Tukey)
Vertical intervals: lines, crossbars & errorbars
Line segments parameterised by location, direction and distance
Give a deprecation error, warning, or message, depending on version number.
ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics
Build a plot with all the usual bits and pieces.
Save a ggplot (or other grid object) with sensible defaults
A selection of summary functions from Hmisc
Retrieve the last plot to be modified or created.
Create a new sf layer that auto-maps geometry data
Generate correct scale type for specified limits
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
Fuel economy data from 1999 to 2008 for 38 popular models of cars
An updated and expanded version of the mammals sleep dataset
Stack overlapping objects on top of each another
Terms of 12 presidents from Eisenhower to Trump
Convenience function to remove missing values from a data.frame
Compute the "resolution" of a numeric vector
Positional scales for binning continuous data (x & y)
Sequential, diverging and qualitative colour scales from ColorBrewer
Position scales for continuous data (x & y)
Set the last plot to be fetched by lastplot()
Used in examples to illustrate when errors should occur.
Bin and summarise in 2d (rectangle & hexagons)
Displays a useful description of a ggplot object
Convenience function to transform all position variables.
Modify geom/stat aesthetic defaults for future plots
The zero grob draws nothing and has zero size.