> * R. Michael Weylandt <zvpunry.jrlyn...@tznvy.pbz> [2012-11-23 09:13:36 > +0000]: > >> 2. because difftime.summary returns a data.frame and not a >> "Classes 'summaryDefault', 'table'" as I assume summary must return. > > See > http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-should-I-write-summary-methods_003f
what are the requirements on the class summary.foo? does it have to inherit from some other class? how do I define a class? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://dhimmi.com http://honestreporting.com http://thereligionofpeace.com http://iris.org.il http://americancensorship.org In the race between idiot-proof software and idiots, the idiots are winning. ______________________________________________ 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.