update_adterms | R Documentation |
Update additions terms used in formulas of brms. See
addition-terms
for details.
update_adterms(formula, adform, action = c("update", "replace"))
formula |
Two-sided formula to be updated. |
adform |
One-sided formula containing addition terms to update
|
action |
Indicates what should happen to the existing addition terms in
|
An object of class formula
.
form <- y | trials(size) ~ x
update_adterms(form, ~ trials(10))
update_adterms(form, ~ weights(w))
update_adterms(form, ~ weights(w), action = "replace")
update_adterms(y ~ x, ~ trials(10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.