Provides an update method for "xtabs" objects, typically by
removing terms from the formula to collapse over them.
Usage
# S3 method for class 'xtabs'
update(object, formula., ..., evaluate = TRUE)Arguments
- object
An existing
"xtabs"object- formula.
Changes to the formula ? see
update.formulafor details- ...
Additional arguments to the call, or arguments with changed values.
- evaluate
If
TRUE, evaluate the new call else return the call
See also
update.formula for details on updates to model
formulae
margin.table does something similar,
collapse.table collapses category levels