update_adterms {brms}  R Documentation 
Update additions terms used in formulas of brms. See
additionterms
for details.
update_adterms(formula, adform, action = c("update", "replace"))
formula 
Twosided formula to be updated. 
adform 
Onesided 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))