Use anova() on a gamlist object

DESCRIPTION:

This is a method for the function anova() for objects inheriting from class gamlist. See anova for the general behavior of this function and for the interpretation of the arguments.

USAGE:

anova.gamlist(object, ..., test)