README.md

The goal of BBS.SDM is to …

Installation

You can install BBS.SDM from Github with:

#install.packages("devtools")
devtools::install_github("RushingLab/BBS.SDM")

Additional software and packages needed

Fitting the models described in the paper requires an up-to-date version of JAGS.

The workflow for fitting the models also relies on program Presence, which is called from R using the RPresence package (both Presence and the binary for RPresence can be downloaded from the previous link). Once downloaded, RPresence can be installed using the following command (be sure to change to the correct path!):

install.packages("C:/path/to/file/RPresence_2.12.13.zip", repos = NULL, type = "win.binary")

Alternatively, if you are using RStudio, RPresence can be installed by going to Tools -> Install Packages, clicking the Package Archive File (.zip; .tar.gz) option under the Install from: dropdown, and then browsing to RPresence_2.12.13.zip (note that the version number may be different).

Two additional packages are needed to obtain and format the raw BBS data. These packages can be downloaded from Github:

devtools::install_github("richfitz/datastorr")
devtools::install_github("crushing05/BBS.tenstop")

Example analysis

vignette("bbs-sdm")


RushingLab/BBS.SDM documentation built on May 28, 2019, 11:21 a.m.