plot_influ | R Documentation |
The influence metric indicates how much of a standardisation effect the model is having.
plot_influ(fit, year = NULL, fill = "purple", hurdle = FALSE)
fit |
An object of class |
year |
the year variable label. |
fill |
the colour to use in the plot. |
hurdle |
if a hurdle model then use the hurdle |
a ggplot
object.
get_influ
## Not run:
data(epilepsy)
epilepsy$Age <- factor(epilepsy$Age)
fit1 <- brm(count ~ Age + (1|patient), data = epilepsy, family = poisson(), iter = 100)
summary(fit1)
plot_influ(fit = fit1, year = "Age")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.