Skip to contents

ggplot2 extensions

geom_inset_frame()
Add a frame and burst lines for an inset
geom_sf_inset() stat_sf_inset()
Visualise sf objects with insets
geom_sf_text_inset() geom_sf_label_inset() stat_sf_coordinates_inset()
Extract coordinates from 'sf' objects (inset-aware)
coord_sf_inset()
Specify an inset configuration for the whole plot

Inset configuration

configure_inset()
Configure transformations underpinning a map inset
shape_circle()
Circular insets
shape_rectangle()
Rectangular insets
shape_sf()
Arbitrary geometry as insets

Helpers for creating inset-aware ggplot2 extensions

build_sf_inset_layers()
Build layers to implement an inset-compatible geometry
get_inset_config()
Get the inset configuration from the params or coord
transform_to_inset()
Transform coordinates according to inset configuration

Package

ggmapinset ggmapinset-package
Add Inset Panels to Maps
mozzies_nsw2301
Mosquito counts from NSW Arbovirus Surveillance program