ubms
Fit models to data from unmarked animals using Stan. Uses a similar interface to the R package 'unmarked', while providing the advantages of Bayesian inference and allowing estimation of random effects.
Science Score: 26.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
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.4%) to scientific vocabulary
Keywords
Repository
Fit models to data from unmarked animals using Stan. Uses a similar interface to the R package 'unmarked', while providing the advantages of Bayesian inference and allowing estimation of random effects.
Basic Info
- Host: GitHub
- Owner: ecoverseR
- License: gpl-3.0
- Language: R
- Default Branch: master
- Homepage: https://biodiverse.github.io/ubms/
- Size: 3.99 MB
Statistics
- Stars: 37
- Watchers: 7
- Forks: 8
- Open Issues: 3
- Releases: 8
Topics
Metadata Files
README.md
ubms: Unmarked Bayesian Models with Stan
ubms is an R package for fitting Bayesian hierarchical models of
animal occurrence and abundance. The package has a formula-based
interface compatible with
unmarked,
but the model is fit using MCMC with Stan
instead of using maximum likelihood. Currently there are Stan versions
of unmarked functions occu, occuRN, colext, occuTTD, pcount,
distsamp, and multinomPois. These functions follow the stan_
prefix naming format established by
rstanarm.
For example, the Stan version of the unmarked function occu is
stan_occu.
Advantages compared to unmarked:
- Obtain posterior distributions of parameters and derived parameters
- Include random effects in parameter formulas (same syntax as
lme4) - Assess model fit using WAIC and LOO via the loo package
Disadvantages compared to unmarked:
- MCMC is slower than maximum likelihood
- Not all model types are supported
- Potential for convergence issues
Installation
ubms is on
CRAN:
r
install.packages("ubms")
Alternatively, the latest development version can be installed from Github:
``` r
install.packages("devtools")
devtools::install_github("biodiverse/ubms") ```
Package Overview
A detailed vignette for the package is available here.
Owner
- Name: Ecoverse
- Login: ecoverseR
- Kind: organization
- Repositories: 1
- Profile: https://github.com/ecoverseR
R packages for Modeling Species Diversity and Distributions
GitHub Events
Total
- Issues event: 2
- Issue comment event: 2
- Push event: 1
Last Year
- Issues event: 2
- Issue comment event: 2
- Push event: 1
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 1
- Total pull requests: 0
- Average time to close issues: 2 days
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 1.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: 2 days
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 1.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- jcarlis3 (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- R >= 3.4.0 depends
- unmarked * depends
- Matrix * imports
- RSpectra * imports
- Rcpp >= 0.12.0 imports
- ggplot2 >= 2.0.0 imports
- gridExtra * imports
- lme4 * imports
- loo * imports
- methods * imports
- pbapply * imports
- rstan >= 2.18.1 imports
- rstantools >= 2.0.0 imports
- stats * imports
- covr * suggests
- devtools * suggests
- knitr * suggests
- pkgdown * suggests
- raster * suggests
- rlang * suggests
- rmarkdown * suggests
- roxygen2 * suggests
- testthat * suggests
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/upload-artifact v1 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/upload-artifact v1 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
- actions/cache v2 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite