Facets

Extended facet functions with additional options to customise the strips and axes of the classic ‘wrap’ and ‘grid’ layouts.

facet_grid2()

Extended grid facets

facet_wrap2()

Extended wrapped facets

facet_nested()

Layout panels in a grid with nested strips

facet_nested_wrap()

Ribbon of panels with nested strips.

facet_manual()

Manual layout for panels

Facet helpers

Helper functions that can tweak the appearance of facet panels, the strips and position scales.

strip_vanilla()

Default strips

strip_themed()

Strip with themed boxes and texts

strip_nested()

Nested strips

strip_split()

Split strips

strip_tag()

Strips as tags

force_panelsizes()

Force a facetted plot to have specified panel sizes

facetted_pos_scales()

Set individual scales in facets

scale_x_facet() scale_y_facet()

Position scales for individual panels in facets

Position guides and scales

Additional ways to organise and display the x- and y-axes.

guide_axis_logticks() guide_axis_manual() guide_axis_minor() guide_axis_nested() guide_axis_scalebar() guide_axis_truncated() guide_axis_colour() guide_axis_color() guide_dendro() ggsubset() scale_x_dendrogram() scale_y_dendrogram()

Deprecated functions

scale_x_manual() scale_y_manual()

Manual position scales

coord_axes_inside()

Cartesian coordinates with interior axes

Colour scales and guide

Two ways of mapping non-standard aesthetics to colour/fill scales and a legend of coloured text.

guide_stringlegend()

String legend

scale_fill_multi() scale_colour_multi()

Multiple gradient colour scales

scale_listed()

Add a list of scales for non-standard aesthetics

Stats

Statistical layers that perform a data transformation

stat_theodensity()

Fitted theoretical density

stat_difference()

Difference ribbon

stat_rollingkernel()

Rolling Kernel

stat_funxy() stat_centroid() stat_midpoint()

Apply function to position coordinates

stat_rle()

Run length encoding

Geoms

A small collection of geometry layers.

geom_pointpath()

Point Paths

geom_outline_point()

Points with outline

geom_polygonraster()

Polygon parameterisation for rasters

geom_rectmargin() geom_tilemargin()

Rectangular rugs in the margins

geom_text_aimed()

Aimed text

geom_box()

Flexible rectangles

Positions

Two position adjustments that can be added to layers.

position_disjoint_ranges()

Segregating overlapping ranges

position_lineartrans()

Linearly transform coordinates

Miscellaneous

Functions that don’t belong to a family of functions, may might be helpful in specific circumstances.

ggh4x_extensions CoordAxesInside FacetGrid2 FacetWrap2 FacetManual FacetNested FacetNestedWrap GeomBox GeomPointPath GeomPointpath GeomPolygonRaster GeomRectMargin GeomTileMargin GeomTextAimed GuideStringlegend PositionDisjointRanges PositionLinearTrans StatDifference StatFunxy StatRle StatRollingkernel StatTheoDensity Strip StripThemed StripNested StripSplit

ggh4x extensions to ggplot2

theme_extensions ggh4x_theme_elements

Theme extensions

help_secondary()

Secondary axis helper

center_limits()

Center limits

element_part_rect()

Partial rectangle theme element

guide_axis_logticks() guide_axis_manual() guide_axis_minor() guide_axis_nested() guide_axis_scalebar() guide_axis_truncated() guide_axis_colour() guide_axis_color() guide_dendro() ggsubset() scale_x_dendrogram() scale_y_dendrogram()

Deprecated functions

distribute_args() elem_list_text() elem_list_rect()

Element list constructors

weave_factors()

Bind together factors

sep_discrete()

Separator for discrete grouped labels

at_panel()

Constrain layer to panels