{
  "_id": "6a1e75ec1d7bb097a0a63c7d",
  "Package": "Ostats",
  "Type": "Package",
  "Title": "O-Stats, or Pairwise Community-Level Niche Overlap Statistics",
  "Version": "0.2.0",
  "Authors@R": "c(person(c('Quentin', 'D.'), 'Read', role = c('aut', 'cre'), email = 'quentin.read@usda.gov'),\nperson('Arya', 'Yue', role = 'aut'),\nperson(c('Isadora', 'E.'), 'Fluck', role = 'aut'),\nperson('Benjamin', 'Baiser', role = 'aut'),\nperson(c('John', 'M.'), 'Grady', role = 'aut'),\nperson(c('Phoebe', 'L.'), 'Zarnetske', role = 'aut'),\nperson('Sydne', 'Record', role = 'aut')\n)",
  "Description": "O-statistics, or overlap statistics, measure the degree of\ncommunity-level trait overlap. They are estimated by fitting\nnonparametric kernel density functions to each species’ trait\ndistribution and calculating their areas of overlap. For\ninstance, the median pairwise overlap for a community is\ncalculated by first determining the overlap of each species\npair in trait space, and then taking the median overlap of each\nspecies pair in a community. This median overlap value is\ncalled the O-statistic (O for overlap). The Ostats() function\ncalculates separate univariate overlap statistics for each\ntrait, while the Ostats_multivariate() function calculates a\nsingle multivariate overlap statistic for all traits.\nO-statistics can be evaluated against null models to obtain\nstandardized effect sizes. 'Ostats' is part of the\ncollaborative Macrosystems Biodiversity Project \"Local- to\ncontinental-scale drivers of biodiversity across the National\nEcological Observatory Network (NEON).\" For more information on\nthis project, see the Macrosystems Biodiversity Website\n(<https://neon-biodiversity.github.io/>). Calculation of\nO-statistics is described in Read et al. (2018)\n<doi:10.1111/ecog.03641>, and a teaching module for introducing\nthe underlying biological concepts at an undergraduate level is\ndescribed in Grady et al. (2018)\n<http://tiee.esa.org/vol/v14/issues/figure_sets/grady/abstract.html>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "URL": "https://neon-biodiversity.github.io/Ostats/",
  "BugReports": "https://github.com/NEON-biodiversity/Ostats/issues",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libgdal-dev gdal-bin libgeos-dev libgmp3-dev\nlibicu-dev libproj-dev libsqlite3-dev",
  "Repository": "https://neon-biodiversity.r-universe.dev",
  "Date/Publication": "2024-11-19 11:32:53 UTC",
  "RemoteUrl": "https://github.com/neon-biodiversity/ostats",
  "RemoteRef": "HEAD",
  "RemoteSha": "c674dd3c3f2998f2308e172bfeacb61634e4b3f0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-01 07:56:49 UTC",
    "User": "root"
  },
  "Author": "Quentin D. Read [aut, cre],\nArya Yue [aut],\nIsadora E. Fluck [aut],\nBenjamin Baiser [aut],\nJohn M. Grady [aut],\nPhoebe L. Zarnetske [aut],\nSydne Record [aut]",
  "Maintainer": "Quentin D. Read <quentin.read@usda.gov>",
  "MD5sum": "9f6d8bdec3e6146b3ff1b58e262486c9",
  "_user": "neon-biodiversity",
  "_type": "src",
  "_file": "Ostats_0.2.0.tar.gz",
  "_fileid": "8a31f5ea40db39e709b90fdd55ece7e0daec7c9d3661658da417b17f37074fec",
  "_filesize": 1375877,
  "_sha256": "8a31f5ea40db39e709b90fdd55ece7e0daec7c9d3661658da417b17f37074fec",
  "_created": "2026-06-01T07:56:49.000Z",
  "_published": "2026-06-02T06:19:24.732Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79010899016,
      "time": 226,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7350355532"
    },
    {
      "job": 79010899036,
      "time": 232,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7350356954"
    },
    {
      "job": 79010899017,
      "time": 219,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7350353681"
    },
    {
      "job": 79010899070,
      "time": 219,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7350353881"
    },
    {
      "job": 79010899124,
      "time": 363,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326169035"
    },
    {
      "job": 79010899603,
      "time": 145,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326214313"
    },
    {
      "job": 79010899144,
      "time": 188,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7350346726"
    },
    {
      "job": 79010899060,
      "time": 190,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7350347148"
    },
    {
      "job": 79010899008,
      "time": 173,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7350343604"
    }
  ],
  "_buildurl": "https://github.com/r-universe/neon-biodiversity/actions/runs/26742201357",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/neon-biodiversity/ostats",
  "_commit": {
    "id": "c674dd3c3f2998f2308e172bfeacb61634e4b3f0",
    "author": "Quentin Read <quentin.read@usda.gov>",
    "committer": "Quentin Read <quentin.read@usda.gov>",
    "message": "Further expand test suite to include null models\n",
    "time": 1732015973
  },
  "_maintainer": {
    "name": "Quentin D. Read",
    "email": "quentin.read@usda.gov",
    "login": "qdread",
    "description": "Statistician, USDA Agricultural Research Service",
    "uuid": 9200842
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "sfsmisc",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "circular",
      "role": "Imports"
    },
    {
      "package": "hypervolume",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "viridis",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "neon-biodiversity",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "ecology"
  ],
  "_stars": 7,
  "_contributors": [
    {
      "user": "qdread",
      "count": 150,
      "uuid": 9200842
    },
    {
      "user": "yyue-r",
      "count": 55,
      "uuid": 63085051
    },
    {
      "user": "isafluck",
      "count": 54,
      "uuid": 65627563
    },
    {
      "user": "sydnerecord",
      "count": 7,
      "uuid": 9824468
    },
    {
      "user": "tomjodl",
      "count": 2,
      "uuid": 134068069
    },
    {
      "user": "plzmsu",
      "count": 1,
      "uuid": 14238168
    }
  ],
  "_userbio": {
    "uuid": 38537315,
    "type": "organization",
    "name": "National Ecological Observatory Network (NEON) Biodiversity Research",
    "description": "Research on biodiversity and community ecology and their biotic and abiotic drivers,  across the National Ecological Observatory Network (funding: NSF)"
  },
  "_downloads": {
    "count": 701,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/Ostats"
  },
  "_devurl": "https://github.com/neon-biodiversity/ostats",
  "_pkgdown": "https://neon-biodiversity.github.io/Ostats/",
  "_searchresults": 25,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/Ostats.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/neon-biodiversity/ostats",
  "_realowner": "neon-biodiversity",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-07-26"
    },
    {
      "version": "0.1.1",
      "date": "2021-11-16"
    },
    {
      "version": "0.2.0",
      "date": "2022-09-12"
    }
  ],
  "_exports": [
    "community_overlap",
    "Ostats",
    "Ostats_multivariate",
    "Ostats_multivariate_plot",
    "Ostats_plot"
  ],
  "_datasets": [
    {
      "name": "ant_data",
      "title": "Sample Circular Data",
      "object": "ant_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "species",
        "chamber",
        "time"
      ],
      "rows": 4837,
      "table": true,
      "tojson": true
    },
    {
      "name": "pitcher_traits",
      "title": "Sample Multivariate Trait Data (Pitcher Plants)",
      "object": "pitcher_traits",
      "class": [
        "data.frame"
      ],
      "fields": [
        "site_id",
        "plant_id",
        "rosette_diameter_1",
        "rosette_diameter_2",
        "pitcher_length",
        "pitcher_width",
        "keel_width",
        "mouth_diameter",
        "lip_thickness"
      ],
      "rows": 120,
      "table": true,
      "tojson": true
    },
    {
      "name": "reg_pool",
      "title": "Sample Data for Ostats_regional",
      "object": "reg_pool",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "siteID",
        "taxonID",
        "weight",
        "endDate",
        "log_weight"
      ],
      "rows": 7905,
      "table": true,
      "tojson": true
    },
    {
      "name": "small_mammal_data",
      "title": "Sample Continuous Trait Data (NEON Small Mammals 2015)",
      "object": "small_mammal_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "siteName",
        "siteID",
        "plotID",
        "taxonID",
        "mass",
        "sex",
        "lifeStage"
      ],
      "rows": 7692,
      "table": true,
      "tojson": true
    },
    {
      "name": "small_mammal_Ostats",
      "title": "Pre-calculated Overlap Statistics for NEON Small Mammals 2015",
      "object": "small_mammal_Ostats",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ant_data",
      "title": "Sample Circular Data",
      "topics": [
        "ant_data"
      ]
    },
    {
      "page": "community_overlap",
      "title": "Community Overlap Calculation",
      "topics": [
        "community_overlap"
      ]
    },
    {
      "page": "Ostats",
      "title": "Calculate O-statistics (community-level pairwise niche overlap statistics)",
      "topics": [
        "Ostats"
      ]
    },
    {
      "page": "Ostats_multivariate",
      "title": "Calculate multivariate O-statistics",
      "topics": [
        "Ostats_multivariate"
      ]
    },
    {
      "page": "Ostats_multivariate_plot",
      "title": "Plot multivariate community overlap",
      "topics": [
        "Ostats_multivariate_plot"
      ]
    },
    {
      "page": "Ostats_plot",
      "title": "Plot community trait overlap",
      "topics": [
        "Ostats_plot"
      ]
    },
    {
      "page": "pitcher_traits",
      "title": "Sample Multivariate Trait Data (Pitcher Plants)",
      "topics": [
        "pitcher_traits"
      ]
    },
    {
      "page": "reg_pool",
      "title": "Sample Data for Ostats_regional",
      "topics": [
        "reg_pool"
      ]
    },
    {
      "page": "small_mammal_data",
      "title": "Sample Continuous Trait Data (NEON Small Mammals 2015)",
      "topics": [
        "small_mammal_data"
      ]
    },
    {
      "page": "small_mammal_Ostats",
      "title": "Pre-calculated Overlap Statistics for NEON Small Mammals 2015",
      "topics": [
        "small_mammal_Ostats"
      ]
    }
  ],
  "_readme": "https://github.com/neon-biodiversity/ostats/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "boot",
    "caret",
    "circular",
    "class",
    "cli",
    "clock",
    "codetools",
    "cpp11",
    "crayon",
    "data.table",
    "diagram",
    "digest",
    "doParallel",
    "dplyr",
    "e1071",
    "farver",
    "fastcluster",
    "FNN",
    "foreach",
    "future",
    "future.apply",
    "generics",
    "geometry",
    "ggplot2",
    "globals",
    "glue",
    "gower",
    "gridExtra",
    "gtable",
    "hardhat",
    "hitandrun",
    "hms",
    "hypervolume",
    "ipred",
    "isoband",
    "iterators",
    "kernlab",
    "KernSmooth",
    "ks",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "linprog",
    "listenv",
    "lpSolve",
    "lubridate",
    "magic",
    "magrittr",
    "maps",
    "MASS",
    "Matrix",
    "matrixStats",
    "mclust",
    "mgcv",
    "ModelMetrics",
    "multicool",
    "mvtnorm",
    "nlme",
    "nnet",
    "numDeriv",
    "palmerpenguins",
    "parallelly",
    "pbapply",
    "pdist",
    "pillar",
    "pkgconfig",
    "plyr",
    "pracma",
    "prettyunits",
    "pROC",
    "prodlim",
    "progress",
    "progressr",
    "proxy",
    "purrr",
    "R6",
    "raster",
    "rcdd",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppProgress",
    "recipes",
    "reshape2",
    "rlang",
    "rpart",
    "S7",
    "scales",
    "sfsmisc",
    "shape",
    "sp",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "terra",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tzdb",
    "utf8",
    "vctrs",
    "viridis",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "Example2-Ostats-multivariate.Rmd",
      "filename": "Example2-Ostats-multivariate.html",
      "title": "Example 2: Multivariate O-statistics",
      "author": "Quentin D. Read, Isadora E. Fluck",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example 2: Multivariate Example - Pitcher plant leaf traits across populations",
        "Overview",
        "Example dataset",
        "Calculating hypervolume O-statistics",
        "Univariate versus multivariate O-statistics",
        "Null models for multivariate O-statistics",
        "Visualizing hypervolume O-statistics",
        "Some practical notes",
        "Works cited"
      ],
      "created": "2024-11-08 21:03:14",
      "modified": "2024-11-08 21:03:14",
      "commits": 1
    },
    {
      "source": "Example1-Ostats-univariate.Rmd",
      "filename": "Example1-Ostats-univariate.html",
      "title": "O-stats: Example 1 - Univariate O-statistics",
      "author": "Arya Yue, Quentin D. Read, Isadora Essig Fluck, Benjamin Baiser, John M. Grady, Phoebe L. Zarnetske, Sydne Record",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Step-by-step Examples",
        "Univariate linear example - NEON small mammal communities: Calculating the overlap statistics for linear data against a local null model",
        "EXAMPLE: How to find the degree of overlap in body sizes for all small mammal species present in a particular community, and compare it with other communities?",
        "Arguments to Ostats()",
        "Overlap statistics for circular data against a local null model",
        "EXAMPLE: How to find the degree of overlap in time occurences for ant species present in a chamber, and compare across chambers of different conditions?",
        "Overlap plots",
        "Boostrapping",
        "Example for generating bootstrap of linear univariate O-statistics",
        "Bibliography"
      ],
      "created": "2024-11-08 21:03:14",
      "modified": "2024-11-08 21:03:14",
      "commits": 1
    }
  ],
  "_score": 5.942008053022313,
  "_indexed": true,
  "_nocasepkg": "ostats",
  "_universes": [
    "neon-biodiversity",
    "qdread"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-02T06:17:40.000Z",
      "distro": "noble",
      "commit": "c674dd3c3f2998f2308e172bfeacb61634e4b3f0",
      "fileid": "9d9fdd8fd074c94c6f97bd55cce75c3100f06cb176ec9bd7e6bc62cfd752bf8d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/neon-biodiversity/actions/runs/26742201357"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-02T06:17:44.000Z",
      "distro": "noble",
      "commit": "c674dd3c3f2998f2308e172bfeacb61634e4b3f0",
      "fileid": "51aa59345b1a72eb9ea3074d624b7d510248f4db111fde321674e9bc0aadcf60",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/neon-biodiversity/actions/runs/26742201357"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-02T06:17:31.000Z",
      "commit": "c674dd3c3f2998f2308e172bfeacb61634e4b3f0",
      "fileid": "eb851fd08d8ddbedb3380591903951454c532f47cae524098bde51486dcca2b2",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/neon-biodiversity/actions/runs/26742201357"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-02T06:17:29.000Z",
      "commit": "c674dd3c3f2998f2308e172bfeacb61634e4b3f0",
      "fileid": "ccecf19dbcbc2ef83f1303c36130686ad85ded78cfbee37483da5f133739021f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/neon-biodiversity/actions/runs/26742201357"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-06-01T07:59:36.000Z",
      "commit": "c674dd3c3f2998f2308e172bfeacb61634e4b3f0",
      "fileid": "630641f38e4ddfee97c720e04b1610f8c44e3e7f9c67887fdaa89e01e0044b08",
      "status": "success",
      "buildurl": "https://github.com/r-universe/neon-biodiversity/actions/runs/26742201357"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-02T06:16:33.000Z",
      "commit": "c674dd3c3f2998f2308e172bfeacb61634e4b3f0",
      "fileid": "87a9159ab4ea2ad084fbf83ee71e1a38dd65e0b01fa84f782a3bd8f3a53b93fe",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/neon-biodiversity/actions/runs/26742201357"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-02T06:16:26.000Z",
      "commit": "c674dd3c3f2998f2308e172bfeacb61634e4b3f0",
      "fileid": "79db55db8c91ac5a16ebe4398c558de38ca388f86336d97b18f6f1611decf8b2",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/neon-biodiversity/actions/runs/26742201357"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-02T06:16:18.000Z",
      "commit": "c674dd3c3f2998f2308e172bfeacb61634e4b3f0",
      "fileid": "36fc362599673bf7165bcee63fbdd9b925541e4dc9f4e1d9800d8be99eaeff2e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/neon-biodiversity/actions/runs/26742201357"
    }
  ]
}