Skip to content

Ostats

0.2.0

O-Stats, or Pairwise Community-Level Niche Overlap Statistics

0packages depend
10Kdownloads / year
51.4%test coverage
13/13checks pass

Overview

About
Maintained by Quentin D. ReadFirst published 2021-07-263 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 10.9 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.17
51.4%
Coverage · measured lines
100%
Documentation · exports
9
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
  • ERROR2026-04-09
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 516 wordsVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
75%
Documented parameters
100%
Return-value docs
100%
References docs
80%

Downloads

10K
CRAN downloads in the past year
Rank #4,709 · ~27/day · ~830/mo
Daily download trend is not available in this view yet.
46030 days
2K90 days
10K1 year
Compare downloads with other packages →
Also on89 r2u32 autocran

Repository

Repository
7Stars
2Forks
7Open issues
0Open PRs
3Releases
311Commits
7Contributors
ecologyr
311 commits · Last activity 2024-11-19

Stars over time

2022-01-20 · 72026-07-07 · 7

Repository practices

Upstream repositoryBeta

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.

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (7)
Maintainer (1)
Author, Maintainer
Authors (7)
Author, Maintainer
Author
Listed in earlier versions (4)
no longer listed · 0.1.0 to 0.2.0
no longer listed · 0.1.0 to 0.2.0
no longer listed · 0.1.0 to 0.2.0
no longer listed · 0.1.0 to 0.2.0
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.0Latest
    2022-09-12 · current release · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.1
    2021-11-16 · diff ↗
  • 0.1.0
    2021-07-26
  • R
    R 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
Report a problem with this page →