Skip to contents

Sites and occurrences

geo_as_sf() geo_drop_geometry()
Convert site coordinates to an sf tibble
geo_extract()
Extract raster values at sites
geo_clean()
Clean occurrence coordinates
geo_gbif()
Import GBIF-style occurrence records
as_sf() as_spat_raster()
Hand off spatial objects to tmap, leaflet and friends
geo_as_features()
Export a site-by-feature matrix for conservation planning

Example data

png_ants_sites
GPS positions of the Mt Wilhelm ant bait transects
geo_example_sites()
Published GPS coordinates for the Mt Wilhelm study sites
geo_example_stems()
Simulated ForestGEO-style stem table for tests
geo_example_dem()
Simulated DEM for testing local metre stem maps
geo_example_censuses()
Two simulated censuses for testing demography code

Distances and spatial statistics

geo_distance()
Pairwise geographic or elevational distances
geo_decay()
Distance decay with geographic, elevational or environmental distance
geo_moran()
Moran's I for spatial autocorrelation of diversity
geo_hotspot() geo_lisa()
Local spatial statistics: hotspots and LISA clusters
geo_breaks() geo_classify()
Classify a numeric column into map classes
geo_mem()
Distance-based Moran's eigenvector maps (dbMEM)
geo_rarefy_spatial()
Spatially constrained rarefaction
geo_grain()
Aggregate sites or rasters across grains (MAUP helpers)
geo_middomain()
Geometric mid-domain null for elevational richness
geo_interpolate()
Interpolate point measurements onto a grid

Terrain hydrology

D8 flow direction, flow accumulation, watersheds and the topographic wetness index, computed in C++.

geo_flow_direction() geo_flow_accumulation() geo_watershed() geo_twi()
Terrain hydrology: flow direction, accumulation, watersheds and TWI

Maps

plot_sites()
Publication-ready study-site maps
plot_geo()
Map Hill numbers (and coverage) in geographic space
plot_topo()
Map tree stems over topography
geo_basemap()
Basemaps for study-site and diversity maps
geo_save()
Save a map figure (PNG, PDF, SVG, TIFF, JPEG)
theme_tidymapr()
Map theme
ggplot_add(<tmr_geo_basemap>)
Add a tidymapr basemap to a ggplot

Vector, raster and file verbs

Environmental layers

geo_bioclim_vars() geo_bioclim() geo_worldclim() geo_chelsa()
Bioclimatic rasters (WorldClim and CHELSA)
geo_elevation()
Download or read elevation (SRTM-style DEM)
geo_gadm()
Administrative boundaries from GADM

Forest plot stem maps

Quadrats, habitat joins, neighbourhoods and torus-translation tests in local plot coordinates.

stems_quadrat() stems_habitat() stems_neighbours()
Spatial verbs for ForestGEO-style stem maps
stems_habitat_test()
Torus-translation habitat association test (ForestGEO)

Species distribution models

sdm_fit() sdm_predict() sdm_evaluate() plot_sdm()
Tidy species distribution models (presence-background / presence-absence)

Package

tidymapr tidymapr-package
tidymapr: Tidy Mapping Verbs for Biodiversity and Spatial Ecology
geo
Geospatial helpers for tidy biodiversity workflows