bbsBayes2 is a package for performing hierarchical Bayesian analysis of North American Breeding Bird Survey (BBS) data. ‘bbsBayes2’ will run a full model analysis for one or more species that you choose, or you can take more control and specify how the data should be stratified, prepared for Stan, or modelled.
Installation instructions are below.
See the documentation for an overview of how to use bbsBayes2.
Additional resources:
Installation
bbsBayes2 can be installed from the bbsBayes R-Universe:
install.packages("bbsBayes2",
repos = c(bbsbayes = 'https://bbsbayes.r-universe.dev',
CRAN = 'https://cloud.r-project.org'))
Alternatively you can install directly from our GitHub repository with either the pak (recommended) or remotes packages.
With pak:
install.packages("pak")
pak::pkg_install("bbsBayes/bbsBayes2")
With remotes:
install.packages("remotes")
remotes::install_github(("bbsBayes/bbsBayes2")
If you want to install a developmental branch (at your own risk!), you can use the following (assuming you want to install a branch called dev
).
```{r} pak::pkg_install(“bbsBayes/bbsBayes2@dev”)