Skip to content
Prev 48713 / 63424 Next

listof

On 30/07/2014 04:20, Adrian Baddeley wrote:
For alias.lm and aov in file aov.R, not anova.
The class is for lists to be printed in a certain way (there are other 
such classes, e.g. "simple.list", "DList") and for which coef() makes sense.

If your plot() method makes sense for all such lists (e.g. just calls 
plot() on each element) this seems fine: if not you need a more specific 
class inheriting from "listof".

The class has been in R 'for ever' and I do not see it being changed. 
I've added some notes to the source files about where it is used.