Skip to contents

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
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.

scale_x_dendrogram() scale_y_dendrogram()
Dendrogram position scales
guide_dendro()
Dendrogram guide
guide_axis_truncated() guide_axis_colour() guide_axis_color()
Axis guide with truncated line
guide_axis_minor()
Axis guide with ticks for minor breaks
guide_axis_logticks()
Axis guide with ticks for logarithmic breaks
guide_axis_nested()
Nested axis guide
guide_axis_manual()
Manual axis
guide_axis_scalebar()
Scale bar axis guide
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.