It is a really wonderful example, describing over 3 1/2 pages how S3 classes can be lightweight and effective for the right problem size. The book is from 2000, which is when I bought my copy. I once heard rumours of a 2nd edition but that was years ago, and never happend.
Sometimes the classics, e.g. S Programming by Venables & Ripley, give the best examples. Great practical breakdown of an S3 class without relying on decomposing the `lm` object (and, that's quite a rabbit hole). Thanks @eddelbuettel for the heads up.

May 4, 2018 · 3:08 AM UTC

1
2
16
Here are the next two pages.
4