Package index
The maps
One verb per question a map answers. Each resolves land, projection and a colour scale chosen for the quantity, and says so in the figure when it had to decide something.
-
map_surface() - Map a predicted surface
-
map_probability() - Map a probability
-
map_diverging() - Map a quantity with a meaningful centre
-
map_pair() - A surface and its uncertainty, as one figure
-
map_panels() - The same geography over several periods, on one scale
-
map_effort() - Map survey effort and detections
-
hex_surface() - Bin point values into a hexagonal surface
Interactive
The same maps as leaflet widgets, built from the same scale objects so a cell is the same colour in both renderers. A pair and a series become a layer switch on one map rather than two maps.
-
leaflet_surface()leaflet_probability()leaflet_diverging() - Interactive versions of the maps
-
leaflet_pair() - A surface and its uncertainty, interactively
-
leaflet_panels() - A series over several periods, interactively
What the maps are built from
The data contract, the coastline, and the two coordinate-system questions – what a map is drawn in and what areas are measured in – answered separately on purpose.
-
as_map_data() - Put spatial model output into the form the maps draw from
-
coastline()coastline_fixture() - A coastline for a map
-
display_crs() - The coordinate system a map is drawn in
-
equal_area_crs() - The coordinate system areas and distances are computed in
-
area_km2() - Areas in square kilometres, computed honestly
Scales
How a surface should be coloured, decided by stated rules and reported when a rule fires. See vignette(“scales”) for the argument.
-
surface_scale() - How a surface should be coloured
-
diverging_scale() - How a diverging surface should be coloured
-
fancymap_palette() - The colour ramps these maps use
-
scale_bar() - A scale bar, sized for the panel it is drawn in
-
north_arrow() - A north arrow
-
locator_inset() - A locator inset
-
theme_fancymap() - A theme for maps
-
theme_fancymap_panel() - The map theme as used inside a multi-panel figure
-
example_grid() - A small example grid