Skip to content
Back to formatted view

Raw Message

Message-ID: <87624whxaq.fsf@gnu.org>
Date: 2012-11-23T20:35:57Z
From: Sam Steingold
Subject: printing difftime summary
In-Reply-To: <CAAmySGPec3G2uzs6-mcHQwZMOAZt_Aqay9KrggR47X0xH266LA@mail.gmail.com> (R. Michael Weylandt's message of "Fri, 23 Nov 2012 09:13:36 +0000")

> * 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.