Skip to content

Instantly share code, notes, and snippets.

@derekpowell
Created March 24, 2018 06:40
Show Gist options
  • Save derekpowell/0d6ffcddac5e2ba1f6137a1f7da75643 to your computer and use it in GitHub Desktop.
Save derekpowell/0d6ffcddac5e2ba1f6137a1f7da75643 to your computer and use it in GitHub Desktop.
boilerplate to create brms model
model_name <- brm(
DV ~ formula,
data = d,
family = normal(), # student(), #cumulative(), #bernoulli(), etc
control = list(adapt_delta = .80),
cores = parallel::detectCores(),
iter = 2000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment