rstap
Spatial-Temporal Aggregated Predictor Models Implemented in R
This is an R package that fits spatial temporal aggregated predictor models
using Stan (via the rstan package) for the back-end
estimation. The primary target audience is researchers interested in the effect of built environment features (BEFs) on human health, though other
applications are possible. See the package's website for an introduction.
Installation
Development Version
To install the current development version from GitHub, first make sure that you can install the rstan package and C++ toolchain by following these instructions.
Once rstan is successfully installed, you can install rstap from GitHub using the devtools package by executing the following in R:
if (!require(devtools)) {
install.packages("devtools")
library(devtools)
}
install_github("biostatistics4socialimpact/rstap")
Note that vignettes for this package are separately available from the rstap website.
If installation fails, please let us know by filing an issue.