View source: R/analysis_functions.R
getResults | R Documentation |
Extract results from a fitted case-crossover model.
getResults(fit, probs = c(0.01, 0.025, 0.05, 0.95, 0.975, 0.99), M = 10000)
fit |
A fitted case-crossover model (obtained via 'fitModel(model)'). |
probs |
Probabilities at which to recover the quantiles of the posterior (cumulative) distribution of fixed and random effects. |
M |
Number of replicates to draw for the posterior (to approximate it, the more the better). |
Three summary data.frame's. One each for beta, z (overdispersion) and theta.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.