Extends a formula with predictors
extend.formula(
formula = ~0,
predictors = NULL,
auxiliary = TRUE,
include.intercept = FALSE,
...
)
A formula
A formula. If it is
not a formula, the formula is internally reset to ~0
.
A character vector of variable names.
A logical that indicates whether the variables
listed in predictors
should be added to the formula as main
effects. The default is TRUE
.
A logical that indicated whether the intercept should be included in the result.