[R] printing difftime summary

Sam Steingold sds at gnu.org
Fri Nov 23 21:35:57 CET 2012


> * R. Michael Weylandt <zvpunry.jrlynaqg at 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.




More information about the R-help mailing list