Build Status License: GPL v3

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

The current development version can be installed

To install 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 rstanarm from GitHub using the devtools package by executing the following in R:

if (!require(devtools)) {
  install.packages("devtools")
  library(devtools)
}
install_github("biostatistics4socialimpact/rstap", build_vignettes = FALSE)

You can switch build_vignettes to TRUE but it takes a lot longer to install and the vignettes are already separately available from the stap website.

If installation fails, please let us know by filing an issue.

Please Note This package is still in development. Download and use with caution.