Displaying 1 result from an estimated 1 matches for "lmcommented".
Did you mean:
commented
2004 Aug 25
0
S3 classes in S4 class definitions
...e of a dimnames
slot, they don't work as formal classes. The 'ts' class is
treated as a formal class, extending class 'vector'.
----------------------------------
Plus an example of the form:
setOldClass(c("aov", "lm"))
setClass("lmCommented", representation(results = "lm", comments =
"character"))
aa = new("lmCommented", results = npk.aov, comments = "From the aov
example")
try(new("lmCommented", results = npk.aovE, comments = "BAD!!"))
### causes an error because npk.ao...