View source: R/plot_distribution_check.R
plot.dispersion_check | R Documentation |
Plot the results from a dispersion check
## S3 method for class 'dispersion_check' plot(x, y, ...)
x |
a dispersion_check object. Which is the output of
|
y |
currently ignored |
... |
currently ignored |
A \link[ggplot2]{ggplot}
object.
Other utils:
generate_data()
,
plot.distribution_check()
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.