stanreg_glm_5 | R Documentation |
Model of class stanreg
stanreg_glm_5
An object of class stanreg
(inherits from glm
, lm
) of length 27.
## Not run:
set.seed(123)
mtcars$count <- rpois(nrow(mtcars), 2)
rstanarm::stan_glm(count ~ wt + cyl, data = mtcars, family = "poisson")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.