https://github.com/doi-usgs/occstanhm
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
✓DOI references
Found 3 DOI reference(s) in README -
○Academic publication links
-
✓Committers with academic emails
1 of 1 committers (100.0%) from academic institutions -
✓Institutional organization owner
Organization doi-usgs has institutional domain (www.usgs.gov) -
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.0%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: DOI-USGS
- License: other
- Language: R
- Default Branch: main
- Size: 74 MB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
occstanhm: Hierarchical occupancy models with correlated error structure
Authors: Richard A. Erickson, Charles J. Labuzzetta
Point of contact: Richard A. Erickson (rerickson@usgs.gov)
Repository Type: R packing calling Stan models
Year of Origin: 2024 (original publication)
Year of Version: 2024
Version: 2.0.0
Digital Object Identifier (DOI): 10.5066/P13FNZOF
USGS Information Product Data System (IPDS) no.: IP-170402 (internal agency tracking)
Suggested Citation:
Erickson, RA, and Labuzzetta, CJ.
2024.
occstanhm: Hierarchical occupancy models with correlated error structure.
U.S. Geological Survey software release.
Reston, Va.
https://doi.org/10.5066/10.5066/P13FNZOF.
Authors' ORCID nos.:
- Richard A. Erickson, 0000-0003-4649-482X
- Charles J. Labuzzetta, 0000-0002-6027-0120
This repository contains a R package with 2-level and 3-level occupancy models. The package also contains a set of tutorials designed to help users understand how to use and code occupancy models in Stan. The models include a statistical hierarchy that allows for multi-species modeling and estimating correlations among species. The models may also be used as a more general "random-effect" type occupancy model.
The models are written in Stan and called through R.
The cmdstanr package is used, rather than the more common rstan
package, because features used in Stan were not supported by rstan
at the time of development.
Additionally, cmdstanr allows for quicker performance than rstan.
Installation
This code requires the cmdstanr package to run in R.
Please look up the official documentation for install directions.
We also include a Dockerfile for people who prefer to use Docker.
Once you have cmdstanr installed and setup, this package may be installed using this code:
{r}
if (!require("remotes")) install.packages("remotes")
remotes::install_gitlab('umesc/quant-ecology/occstanhm@main', host='code.usgs.gov')
You may wish to lockdown a specific version by changing main to the version (e.g., v2.0).
As of May 2024, the build_vignettes option appears to not be working.
Vigenttes may be built by cloning the repository using git and then installing locally.
Where to get started
After installing the program, please consult the vignettes to learn more.
The Introduction_overview provides a starting place and describes a suggested learning path through the tutorials.
Repository Files
This repository contains the code for an R package using RStan. This repository contains the standard R repository files (see the official R Documentation Writing R Extensions accessed May 2024 or the online book, R Pakcages (2e) for an descriptions of these files). In addition to the R Package source files, this repository contains the following files:
This repository file contains the following files and folder:
README.mdis this file.LICENSE.mdis the Official USGS License.code.jsonis the code metadata.CONTRIBUTING.mddescribes how to contribute to this project.DISCLAIMER.mdis the standard USGS disclaimer..gitignoreis a file telling git which files to not track.docker_filescontains theDockerfileto use this code.
User skill level
This package expects a user to understand Bayesian Statistics and occupancy models. Users seeking to adapt code would also benfit from understanding programming in Stan.
Acknowledgments
This research was funded by the USGS Biological Threats and Invasive Species Research Program and the US Fish and Wildlife Service. Any use of trade, firm, or product names is for descriptive purposes only and does not imply endorsement by the U.S. Government.
Owner
- Name: U.S. Geological Survey
- Login: DOI-USGS
- Kind: organization
- Email: gs_help_git@usgs.gov
- Location: United States of America
- Website: https://www.usgs.gov/
- Twitter: USGS
- Repositories: 59
- Profile: https://github.com/DOI-USGS
By integrating our diverse scientific expertise, we understand complex natural science phenomena and provide scientific products that lead to solutions.
GitHub Events
Total
- Watch event: 1
- Delete event: 1
- Create event: 1
Last Year
- Watch event: 1
- Delete event: 1
- Create event: 1
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Richard A Erickson | r****n@u****v | 7 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0