Plot the results from a dispersion check

# S3 method for dispersion_check
plot(x, y, ...)

Arguments

x

a dispersion_check object. Which is the output of dispersion_check

y

currently ignored

...

currently ignored

Value

a ggplot2 object

See also

Examples

library(INLA) set.seed(20181202) model <- inla( poisson ~ 1, family = "poisson", data = data.frame( poisson = rpois(20, lambda = 10), base = 1 ), control.predictor = list(compute = TRUE) ) dc <- dispersion_check(model) plot(dc)