print.anova.lme {nlme} | R Documentation |
When only one fitted model object is used in the call to
anova.lme
, a data frame with the estimated values, the
approximate standard errors, the z-ratios, and the p-values for the
fixed effects is printed. Otherwise, when multiple fitted objects are
being compaerd, 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 fitted model
object is printed. If included in x
, likelihood ratio
statistics, with associated p-values, are included in the output.
print(x, verbose, ...)
x |
an object inheriting from class anova.lme ,
generally obtained by applying the anova.lme method to an
lme object. |
verbose |
an optional logical value. If TRUE , the calling
sequences for each fitted model object are printed with the rest of
the output, being omitted if verbose = FALSE . Defaults to
attr(x, "verbose") . |
... |
some methods for this generic require additional arguments. None are used in this method. |
Jose Pinheiro Jose.Pinheiro@pharma.novartis.com and Douglas Bates bates@stat.wisc.edu
data(Orthodont) fm1 <- lme(distance ~ age * Sex, Orthodont, random = ~ age | Subject) fm2 <- update(fm1, random = ~ 1 | Subject) print(anova(fm1)) # single argument form print(anova(fm1, fm2)) # multiple arguments