Ostats
0.2.0O-Stats, or Pairwise Community-Level Niche Overlap Statistics
Overview
O-statistics, or overlap statistics, measure the degree of community-level trait overlap. They are estimated by fitting nonparametric kernel density functions to each species’ trait distribution and calculating their areas of overlap. For instance, the median pairwise overlap for a community is calculated by first determining the overlap of each species pair in trait space, and then taking the median overlap of each species pair in a community. This median overlap value is called the O-statistic (O for overlap). The Ostats() function calculates separate univariate overlap statistics for each trait, while the Ostats_multivariate() function calculates a single multivariate overlap statistic for all traits. O-statistics can be evaluated against null models to obtain standardized effect sizes. 'Ostats' is part of the collaborative Macrosystems Biodiversity Project "Local- to continental-scale drivers of biodiversity across the National Ecological Observatory Network (NEON)." For more information on this project, see the Macrosystems Biodiversity Website (https://neon-biodiversity.github.io/). Calculation of O-statistics is described in Read et al. (2018) doi:10.1111/ecog.03641, and a teaching module for introducing the underlying biological concepts at an undergraduate level is described in Grady et al. (2018) http://tiee.esa.org/vol/v14/issues/figure_sets/grady/abstract.html.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-0213 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-2511 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-04-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
- ERROR2026-04-0913 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 75%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 80%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
Repository practices
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/neon-biodiversity/ostats on 2026-07-19.
Dependencies
Nothing depends on this yet.
Code & Tests
Datasets
People & History
3 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.2.0Latest
- RR 4.2.0 released · 2022-04-22
- 0.1.12021-11-16 · diff ↗
- 0.1.02021-07-26
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-07-26
- Total releases
- 3 / 5 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 51 KB / 5 files
- Download size
- 525 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet