Compares the change in likelihood between the current model and one subject to contrasts tested in hypothesis.
hypothesis can be one of a character giving complete factors or terms to be dropped from the model, CoefficientHypothesis giving names of coefficients to be dropped, Hypothesis giving contrasts using the symbolically, or a contrast matrix, with one row for each coefficient in the full model, and one column for each contrast being tested.
lrTest(object, hypothesis)LMlike or subclass
the hypothesis to be tested. See details.
array giving test statistics
fit
waldTest
Hypothesis
CoefficientHypothesis