I created some S4 objects that are essentially data frame objects.  The S4
object definitions were necessary to verify data integrity and force a
standardized data format.  I am, however, finding myself redefining all the
typical generic functions so that I can still manipulate my S4 objects as if
they were data frames ... I have used setMethod to set methods for "subset",
"head", and "tail".  I would like to use setMethod or setGeneric to enable
me to use object$slotname to access obj...@slotname for my S4 objects.  Any
advice is appreciated.  Thanks.
--Markus

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to