Learn R Programming

BiDimRegression (version 2.0.1)

anova.lm2: Anova for lm2 objects

Description

Anova for lm2 objects, returns a table with pairwise comparisons between models or, if only one model was supplied, with the null model.

Usage

# S3 method for lm2
anova(object, ...)

Arguments

object

an object of class "lm2"

...

further objects of class "lm2"

Value

an anova data frame

See Also

lm2

Examples

Run this code
# NOT RUN {
lm2euc <- lm2(depV1+depV2~indepV1+indepV2, NakayaData, transformation = 'Euclidean')
lm2aff <- lm2(depV1+depV2~indepV1+indepV2, NakayaData, transformation = 'Affine')
anova(lm2euc, lm2aff)
# }

Run the code above in your browser using DataLab