Use summary() on a factor object

USAGE:

summary.factor(object, maxsum) 

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