Learn R Programming

nlme (version 3.1-31)

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

## S3 method for class 'anova.lme':
print(x, verbose, \dots)

Arguments

See Also

anova.lme, lme, print

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 DataLab