Boundary Overlap Statistics
Overview
Analysis workflow for finding geographic boundaries of ecological or landscape traits and comparing the placement of geographic boundaries of two traits. If data are trait values, trait data are transformed to boundary intensities based on approximate first derivatives across latitude and longitude. The package includes functions to create custom null models based on the input data. The boundary statistics are described in: Fortin, Drapeau, and Jacquez (1996) doi:10.2307/3545584.
---
Updates
- length of boundaries is calculated as distance from farthest points through edges of a subgraph of adjacent boundary elements, instead of straight line between points
- Gaussian neutral model uses autocorrelation range based on variogram, rather than LISA clusters
- categorical_boundary function deprecated, and functionality merged with define_boundary function
- renamed statistical test functions to improve clarity
- plot_boundary now optionally returns a SpatRaster object with boundary elements and boundary element overlaps
- removed dependencies on sf and pdqr
- added dependency on gstat
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 35
- Examples that run
- 29%4 run in a plain check · 10 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 91%
Downloads
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.3.0Latest2025-07-23 · current release · diff ↗ ·
removed 6 exports
Odirect, Ox, Oxy, lisa_clusters, max_subgraph, n_subgraphadded 5 exports
average_min_distance, average_min_x_to_y, longest_boundary, n_boundaries, n_overlap_boundaries - RR 4.5.0 released · 2025-04-11
- 2.2.0
- RR 4.4.0 released · 2024-04-24
- 2.1.12023-10-21 · diff ↗
- 2.0.12023-06-28
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-06-28
- Total releases
- 4 / 3 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 9.3 KB / 7 files
- Download size
- 94 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("BoundaryStats")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.