When only one fitted model object is present, a data frame with the
sums of squares, numerator degrees of freedom, denominator degrees of
freedom, F-values, and P-values for Wald tests for the terms in the
model (when Terms and L are NULL), a combination
of model terms (when Terms in not NULL), or linear
combinations of the model coefficients (when L is not
NULL). Otherwise, when multiple fitted objects are being
compared, a data frame with the degrees of freedom, the (restricted)
log-likelihood, the Akaike Information Criterion (AIC), and the
Bayesian Information Criterion (BIC) of each object is returned. If
test=TRUE, whenever two consecutive objects have different
number of degrees of freedom, a likelihood ratio statistic, with the
associated p-value is included in the returned data frame.
Usage
## S3 method for class 'lme':
anova(object, ..., test, type, adjustSigma, Terms, L, verbose)