rstapDP is a package that implements clustered spatial-temporal aggregated predictor functions with the Dirichlet Process in R. This allows for the modeling of features impact on measured subjects that can be related either through space or time as a function of some unobserved latent variable.