The rstapDP package offers functions that fit a Linear Model with a Dirichlet Process Prior placed on a subset of the regression coefficients used to model the nonlinear heterogeneous effect of built environment feature (BEF) exposure across space/time. The primary target audience is researchers interested in the effect of BEFs on human health, though other applications are possible.
Currently this package is only available via Github. It is in active development and thus caution is warraranted to anyone interested in using it. In order to install the software use the following lines of R code
if(!require(devtools)){
install.packages("devtools")
library(devtools)
}
install_github("apeterson91/rstapDP",dependencies = TRUE)
Examples and code contributions are welcome. Feel free to start/address a feature in the issue tracker and I'll be notified shortly.
Please note that rstapDP
is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
A citation is in progress. Check back soon.
This work was developed with support from NIH grant R01-HL131610 (PI: Sanchez).
Special thanks to Adam Youncan for help with the package hex.