nlme (version 3.1-1)

print.anova.lme: Print an anova.lme Object

Description

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.

Usage

print(x, verbose)

Arguments

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").

See Also

anova.lme, lme

Examples

Run this code
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

Run the code above in your browser using DataCamp Workspace