brms_3 | R Documentation |
Model of class brmsfit
brms_3
An object of class brmsfit
of length 19.
## Not run:
set.seed(123)
x <- sample(c(1:3), 1000, replace = TRUE)
w <- runif(1000, min = 0.3, max = 3)
y <- rnorm(1000, mean = 0, sd = 1)
data <- data.frame(x, w, y)
data$x <- factor(data$x)
brm(x | weights(w) ~ y, data = data, family = categorical)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.