This function provides the main MCMC inference engine
1 2 3 4 |
N |
Matrix of count data; axis 0 is the number of time intervals per day and axis 1 is the number of days in the data. |
priors |
List with parameter values of prior distributions |
ITERS |
Iteration controls: total # of iterations and # used for burn-in |
EQUIV |
Parameter sharing controls <- c(S1, S2): S1 <- force sharing of delta (day effect) among days, S2 <- force sharing of eta (time of day) among days, Values: 1 (all days share), 2 (weekdays/weekends), 3 (none) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.