Spline Spatial Temporal Aggregated Predictor General Linear Model

sstap_glm(formula, benvo, weights = NULL, family = gaussian(), QR = TRUE, ...)

Arguments

formula

Similar as for glm with the addition of stap,sap tap terms as needed

benvo

built environment Benvo object from the rbenvo package containing the relevant subject-BEF data

weights

vector of positive integer weights

family

One of family currently gaussian, binomial and poisson are implimented with identity, logistic and log links currently.

QR

boolean denoting whether or not to perform a QR decomposition on the design matrix.

...

arguments for stan sampler