ggplot23.5.1 package

Create Elegant Data Visualisations Using the Grammar of Graphics

aes_

Define aesthetic mappings programmatically

aes_all

Given a character vector, create a set of identity mappings

aes_auto

Automatic aesthetic mapping

aes_colour_fill_alpha

Colour related aesthetics: colour, fill, and alpha

aes_eval

Control aesthetic evaluation

aes_group_order

Aesthetics: grouping

aes_linetype_size_shape

Differentiation related aesthetics: linetype, size, shape

automatic_plotting

Tailoring plots to particular data types

autoplot

Create a complete ggplot appropriate to a particular data type

benchplot

Benchmark plot creation time. Broken down into construct, build, rende...

bidirection

Utilities for working with bidirectional layers

binned_scale

Binning scale constructor

borders

Create a layer of map borders

calc_element

Calculate the element properties, by inheriting properties from its pa...

check_device

Check graphics device capabilities

combine_vars

Take input data and define a mapping between faceting variables and RO...

continuous_scale

Continuous scale constructor

coord_cartesian

Cartesian coordinates

cut_interval

Discretise numeric data into categorical

datetime_scale

Date/time scale constructor

coord_fixed

Cartesian coordinates with fixed "aspect ratio"

coord_flip

Cartesian coordinates with x and y flipped

coord_map

Map projections

coord_munch

Munch coordinates data

coord_polar

Polar coordinates

coord_trans

Transformed Cartesian coordinate system

absoluteGrob

Absolute grob

add_theme

Modify properties of an element in a theme object

aes

Construct aesthetic mappings

aes_position

Position related aesthetics: x, y, xmin, xmax, ymin, ymax, xend, yend

annotate

Create an annotation layer

annotation_custom

Annotation: Custom grob

annotation_logticks

Annotation: log tick marks

annotation_map

Annotation: a map

annotation_raster

Annotation: high-performance rectangular tiling

as.list.ggproto

Convert a ggproto object to a list

as_labeller

Coerce to labeller function

autolayer

Create a ggplot layer appropriate to a particular data type

discrete_scale

Discrete scale constructor

draw_key

Key glyphs for legends

element

Theme elements

element_grob

Generate grid grob from theme element

element_render

Render a specified theme element into a grob

expand_limits

Expand the plot limits, using data

expansion

Generate expansion vector for scales

facet_grid

Lay out panels in a grid

facet_null

Facet specification: a single panel.

facet_wrap

Wrap a 1d ribbon of panels into 2d

fill_alpha

Modify fill transparency

find_panel

Find panels in a gtable

fortify-multcomp

Fortify methods for objects produced by multcomp

fortify.lm

Supplement the data fitted to a linear model with model fit statistics...

fortify.map

Fortify method for map objects

fortify

Fortify a model with data.

fortify.sp

Fortify method for classes from the sp package.

geom_abline

Reference lines: horizontal, vertical, and diagonal

geom_bar

Bar charts

geom_bin_2d

Heatmap of 2d bin counts

geom_blank

Draw nothing

geom_boxplot

A box and whiskers plot (in the style of Tukey)

geom_contour

2D contours of a 3D surface

geom_count

Count overlapping points

geom_density

Smoothed density estimates

geom_density_2d

Contours of a 2D density estimate

geom_dotplot

Dot plot

geom_errorbarh

Horizontal error bars

geom_function

Draw a function as a continuous curve

geom_hex

Hexagonal heatmap of 2d bin counts

geom_histogram

Histograms and frequency polygons

geom_jitter

Jittered points

geom_linerange

Vertical intervals: lines, crossbars & errorbars

geom_map

Polygons from a reference map

geom_path

Connect observations

geom_point

Points

geom_polygon

Polygons

geom_qq

A quantile-quantile plot

geom_quantile

Quantile regression

geom_ribbon

Ribbons and area plots

geom_rug

Rug plots in the margins

geom_segment

Line segments and curves

geom_smooth

Smoothed conditional means

geom_spoke

Line segments parameterised by location, direction and distance

geom_text

Text

geom_tile

Rectangles

geom_violin

Violin plot

get_alt_text

Extract alt text from a plot

get_guide_data

Extract tick information from guides

gg-add

Add components to a plot

gg_dep

Give a deprecation error, warning, or message, depending on version nu...

ggplot

Create a new ggplot

ggplot_add

Add custom objects to ggplot

ggplot_build

Build ggplot for rendering.

ggplot_gtable

Build a plot with all the usual bits and pieces.

ggplot2-ggproto

Base ggproto classes for ggplot2

ggplot2-package

ggplot2: Create Elegant Data Visualisations Using the Grammar of Graph...

ggplotGrob

Generate a ggplot2 plot grob.

ggproto

Create a new ggproto object

ggsave

Save a ggplot (or other grid object) with sensible defaults

ggsf

Visualise sf objects

ggtheme

Complete themes

graphical-units

Graphical units

guide_axis

Axis guide

guide_axis_logticks

Axis with logarithmic tick marks

guide_axis_stack

Stacked axis guides

guide_axis_theta

Angle axis guide

guide_bins

A binned version of guide_legend

guide_colourbar

Continuous colour bar guide

guide_coloursteps

Discretized colourbar guide

guide_custom

Custom guides

guide_legend

Legend guide

guide_none

Empty guide

guides

Set guides for each scale

hmisc

A selection of summary functions from Hmisc

ignoring_data

Ignoring and exposing data

is.Coord

Is this object a coordinate system?

is.facet

Is this object a faceting specification?

is.ggplot

Reports whether x is a ggplot object

is.rel

Reports whether x is a rel object

is.theme

Reports whether x is a theme object

label_bquote

Label with mathematical expressions

labeller

Construct labelling specification

labellers

Useful labeller functions

labs

Modify axis, legend, and plot labels

last_plot

Retrieve the last plot to be modified or created.

layer

Create a new layer

layer_geoms

Layer geometry display

layer_positions

Layer position adjustments

layer_sf

Create a new sf layer that auto-maps geometry data

layer_stats

Layer statistical transformations

limits

Generate correct scale type for specified limits

lims

Set scale limits

map_data

Create a data frame of map data

max_height

Get the maximal width/length of a list of grobs

mean_se

Calculate mean and standard error of the mean

merge_element

Merge a parent element into a child element

new_guide

Guide constructor

old_guide

The previous S3 guide system

pattern_alpha

Modify transparency for patterns

position_dodge

Dodge overlapping objects side-to-side

position_identity

Don't adjust position

position_jitter

Jitter points to avoid overplotting

position_jitterdodge

Simultaneously dodge and jitter

position_nudge

Nudge points a fixed distance

position_stack

Stack overlapping objects on top of each another

print.ggplot

Explicitly draw plot

print.ggproto

Format or print a ggproto object

qplot

Quick plot

reexports

Objects exported from other packages

register_theme_elements

Define and register new theme elements

remove_missing

Convenience function to remove missing values from a data.frame

render_axes

Render panel axes

render_strips

Render panel strips

resolution

Compute the "resolution" of a numeric vector

scale_alpha

Alpha transparency scales

scale_binned

Positional scales for binning continuous data (x & y)

scale_brewer

Sequential, diverging and qualitative colour scales from ColorBrewer

scale_colour_continuous

Continuous and binned colour scales

scale_colour_discrete

Discrete colour scales

scale_continuous

Position scales for continuous data (x & y)

scale_date

Position scales for date/time data

scale_discrete

Position scales for discrete data

scale_gradient

Gradient colour scales

scale_grey

Sequential grey colour scales

scale_hue

Evenly spaced colours for discrete data

scale_identity

Use values without scaling

scale_linetype

Scale for line patterns

scale_linewidth

Scales for line width

scale_manual

Create your own discrete scale

scale_shape

Scales for shapes, aka glyphs

scale_size

Scales for area or radius

scale_steps

Binned gradient colour scales

scale_type

Determine default scale type

scale_viridis

Viridis colour scales from viridisLite

sec_axis

Specify a secondary axis

set_last_plot

Set the last plot to be fetched by lastplot()

sf_transform_xy

Transform spatial position data

should_stop

Used in examples to illustrate when errors should occur.

standardise_aes_names

Standardise aesthetic names

stat_ecdf

Compute empirical cumulative distribution

stat_ellipse

Compute normal data ellipses

stat_identity

Leave data as is

stat_sf_coordinates

Extract coordinates from 'sf' objects

stat_summary

Summarise y values at unique/binned x

stat_summary_2d

Bin and summarise in 2d (rectangle & hexagons)

stat_unique

Remove duplicates

summarise_plot

Summarise built plot objects

summary.ggplot

Displays a useful description of a ggplot object

theme

Modify components of a theme

theme_get

Get, set, and modify the active theme

tidyeval

Tidy eval helpers

transform_position

Convenience function to transform all position variables.

translate_shape_string

Translating shape strings

update_defaults

Modify geom/stat aesthetic defaults for future plots

update_labels

Update axis/legend labels

vars

Quote faceting variables

waiver

A waiver object.

wrap_dims

Arrange 1d structure into a grid

zeroGrob

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.

  • Maintainer: Thomas Lin Pedersen
  • License: MIT + file LICENSE
  • Last published: 2024-04-23