Update Formula Addition Terms
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))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.