brms_von_mises_1 | R Documentation |
Model of class brmsfit
brms_von_mises_1
An object of class brmsfit
of length 23.
## Not run:
df <- data.frame(
y = runif(200, -pi, pi),
x = as.factor(rep(c("a", "b"), 100))
)
f <- brms::bf(
y ~ 0 + Intercept + x,
kappa ~ 0 + Intercept,
family = brms::von_mises()
)
brms::brm(
f,
data = df,
refresh = 0,
algorithm = "pathfinder",
backend = "cmdstanr"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.