getResults: Extract results from a fitted case-crossover model.

View source: R/analysis_functions.R

getResultsR Documentation

Extract results from a fitted case-crossover model.

Description

Extract results from a fitted case-crossover model.

Usage

getResults(fit, probs = c(0.01, 0.025, 0.05, 0.95, 0.975, 0.99), M = 10000)

Arguments

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).

Value

Three summary data.frame's. One each for beta, z (overdispersion) and theta.


samperochkin/ccTraffic documentation built on April 26, 2022, 4:57 p.m.