{"id":44359744,"url":"https://github.com/densitymodelling/dsmextra","last_synced_at":"2026-02-11T17:16:41.981Z","repository":{"id":149213363,"uuid":"207996029","full_name":"densitymodelling/dsmextra","owner":"densitymodelling","description":"Extrapolation assessments in density surface models","archived":false,"fork":false,"pushed_at":"2025-04-18T16:16:44.000Z","size":17428,"stargazers_count":5,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-19T05:21:55.758Z","etag":null,"topics":["abundance-estimation","cetacean","ecological-modelling","extrapolation","marine"],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/densitymodelling.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-09-12T07:57:46.000Z","updated_at":"2025-04-18T16:16:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b91c9a6-22b7-416e-98fc-443a8d548801","html_url":"https://github.com/densitymodelling/dsmextra","commit_stats":{"total_commits":140,"total_committers":3,"mean_commits":"46.666666666666664","dds":"0.042857142857142816","last_synced_commit":"1f7e277e05928f2fb37984e66203b8f35211e798"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/densitymodelling/dsmextra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/densitymodelling%2Fdsmextra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/densitymodelling%2Fdsmextra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/densitymodelling%2Fdsmextra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/densitymodelling%2Fdsmextra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/densitymodelling","download_url":"https://codeload.github.com/densitymodelling/dsmextra/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/densitymodelling%2Fdsmextra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29339037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T16:14:43.024Z","status":"ssl_error","status_checked_at":"2026-02-11T16:14:15.258Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abundance-estimation","cetacean","ecological-modelling","extrapolation","marine"],"created_at":"2026-02-11T17:16:41.207Z","updated_at":"2026-02-11T17:16:41.976Z","avatar_url":"https://github.com/densitymodelling.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Extrapolation tools for density surface models \u003cimg src=\"https://github.com/densitymodelling/dsmextra/blob/master/hex/dsmextra-hex.png?raw=true\" height=200 align=\"right\" class=\"logo\"/\u003e\n\n\u003c!-- badges: start --\u003e\n[![lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg?style=flat-square)](https://www.tidyverse.org/lifecycle/#maturing)\n[![DOI](https://img.shields.io/badge/DOI-10.5281.zenodo.3529465-green.svg?style=flat-square)](https://doi.org/10.5281/zenodo.3529465)\n\u003c!-- badges: end --\u003e\n\n`dsmextra` provides a toolkit for quantifying and visualising extrapolation in spatially-explicit ecological models (with a focus on density surface models, as implemented in package [dsm](https://cran.r-project.org/web/packages/dsm/index.html)) projected into novel environmental space. Currently, `dsmextra` defines extrapolation on the basis of two metrics: **(1) ExDet** (Mesgaran et al. 2014), and **(2) %N** (the percentage of data nearby, King \u0026 Zeng 2007). \n\n`dsmextra` offers a variety of numerical and graphical outputs, including summary plots and interactive maps created as [ggplot2](https://ggplot2.tidyverse.org/) and [html](https://rstudio.github.io/leaflet/) objects, respectively. Additional functionality (e.g. assessment methods for dynamic covariates) will be added in future releases.\n\nThe idea behind `dsmextra` is to aid ecologists, practitioners, and model end-users in identifying conditions (e.g. areas) under which predicted density surfaces may be prone to errors. In so doing, `dsmextra` may support:\n\n+ Better-informed interpretations of (density surface) model outputs and their associated uncertainties.\n+ Improvements to model development and covariate selection protocols.\n+ Cost-effective allocation of future survey effort towards priority, data-poor areas.\n\n### Getting started \n\nIf you are just getting started with `dsmextra`, we recommend reading the introductory ('Get started') tutorial [vignette](https://densitymodelling.github.io/dsmextra/articles/dsmextra.html), which provides a quick introduction to the package. You may also find the below paper and technical report useful:\n\n* Bouchet et al. (2020). dsmextra: Extrapolation assessment tools for density surface models. Methods in Ecology and Evolution, 11(11): 1464-1469. DOI: [10.1111/2041-210X.13469](https://besjournals.onlinelibrary.wiley.com/doi/abs/10.1111/2041-210X.13469)\n\n* Bouchet et al. (2020). [From here and now to there and then: Practical recommendations for extrapolating cetacean density surface models to novel conditions](https://research-repository.st-andrews.ac.uk/bitstream/handle/10023/18509/Denmod_ExtrapolationReport_final_Aug2019.pdf?sequence=1\u0026isAllowed=y). CREEM technical report 2019-01 v2.0, Centre for Research into Ecological \u0026 Environmental Modelling (CREEM), University of St Andrews, 59 p.\n\n### Additional reading\n\n* Mannocci et al. (2018). Assessing cetacean surveys throughout the mediterranean sea: A gap analysis in environmental space. *Scientific Reports* **8**, art3126. DOI: [10.1038/s41598-018-19842-9](https://www.nature.com/articles/s41598-018-19842-9).\n\n* Mannocci et al. (2017). Extrapolating cetacean densities to quantitatively assess human impacts on populations in the high seas. *Conservation Biology* **31**, 601–614. DOI: [10.1111/cobi.12856](https://conbio.onlinelibrary.wiley.com/doi/full/10.1111/cobi.12856).\n\n* Mesgaran et al. (2014). Here be dragons: A tool for quantifying novelty due to covariate range and correlation change when projecting species distribution models. *Diversity and Distributions* **20**, 1147–1159. DOI: [10.1111/ddi.12209](https://onlinelibrary.wiley.com/doi/full/10.1111/ddi.12209).\n\n* Miller et al. (2013). Spatial models for distance sampling data: Recent developments and future directions. *Methods in Ecology and Evolution* **4**, 1001–1010. DOI: [10.1111/2041-210X.12105](https://besjournals.onlinelibrary.wiley.com/doi/full/10.1111/2041-210X.12105).\n\n* King G \u0026 Zeng L (2007). When can history be our guide? The pitfalls of counterfactual inference. *International Studies Quarterly* **51**, 183–210. DOI: [10.1111/j.1468-2478.2007.00445.x](https://doi.org/10.1111/j.1468-2478.2007.00445.x).\n\n### Acknowledgements\n\nThis R package was developed for the [DenMod project](https://synergy.st-andrews.ac.uk/denmod/) (Working group for the advancement of marine species density surface modelling), and was funded by OPNAV N45 and the SURTASS LFA Settlement Agreement, being managed by the U.S. Navy’s Living Marine Resources program under Contract No. N39430-17-C-1982. The sperm whale data showcased in the [online vignette](https://densitymodelling.github.io/dsmextra/articles/dsmextra.html) were provided by Debi Palka (NOAA North East Fisheries Science Center) and Lance Garrison (NOAA South East Fisheries Science Center). Initial data processing was undertaken by Jason Roberts (Marine Geospatial Ecology Lab, Duke University).\n\n### Installation\n\nThe latest development version can be installed from Github (requires the [remotes](https://github.com/r-lib/remotes) package):\n\n```r\nif (!require(\"remotes\")) install.packages(\"remotes\")\nremotes::install_github(\"densitymodelling/dsmextra\")\n```\n\n### Found a bug? Have a feature request?  \n\nPlease submit an issue or send a pull request to the [Github repository](https://github.com/densitymodelling/dsmextra/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdensitymodelling%2Fdsmextra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdensitymodelling%2Fdsmextra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdensitymodelling%2Fdsmextra/lists"}