Use deviance() on a lm object

USAGE:

deviance.lm(object, ...) 

This is a method for the function deviance() for objects inheriting from class lm. See deviance or deviance.default for the general behavior of this function and for the interpretation of object.