stanreg_gamm4_3 | R Documentation |
Model of class stanreg
stanreg_gamm4_3
An object of class stanreg
(inherits from glm
, lm
, gamm4
, lmerMod
) of length 28.
## Not run:
data <- iris
data$Cat1 <- rep(c("X", "X", "Y"), length.out = nrow(data))
stan_gamm4(
Sepal.Width ~ Species + s(Petal.Length),
random = ~(1 | Cat1),
data = data
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.