- formula
(formula) A formula of analysis.
- data
(data.frame) Input data frame.
- treatment
(formula or character(1)) A formula of treatment assignment or assignment by stratification,
or a string name of treatment assignment.
- contrast
(function or character(1)) A function to calculate the treatment effect, or character of
"difference", "risk_ratio", "odds_ratio" for default contrasts.
- contrast_jac
(function) A function to calculate the Jacobian of the contrast function. Ignored if using
default contrasts.
- vcov
(function) A function to calculate the variance-covariance matrix of the treatment effect,
including vcovHC and vcovG.
- family
(family) A family object of the glm model.
- vcov_args
(list) Additional arguments passed to vcov.
- pair
Pairwise treatment comparison.
- ...
Additional arguments passed to glm or glm.nb.