"Janko Thyson" writes:
>> I'm experimenting with a few model-fitting classes of my own. I'm
>> leaning towards using S4 for my classes, but the R functions I'd want
>> to override (residuals, predict, etc.) are all S3 methods.
> For example, inside your method for 'residuals()', you will
> prob
I'm experimenting with a few model-fitting classes of my own. I'm
leaning towards using S4 for my classes, but the R functions I'd want to
override (residuals, predict, etc.) are all S3 methods.
As I understand it, I could do setGeneric("residuals"), then add S4
specializations to it. However, I
"Tom \"spot\" Callaway" writes:
> Full build log is here:
> http://koji.fedoraproject.org/koji/getfile?taskID=2571563&name=build.log
>
> Default gcc in RHEL 4 is 3.4.6-10, which has g77 rather than gfortran.
> It looks like this code no longer compiles properly with g77.
>
> Thankfully, RHEL 4 al
Gabor Grothendieck writes:
> The yearqtr class already rounds off automatically to avoid floating
> point effects and handles #1 and #2.
The main use for all this was so I could use quarters as index columns
with data.table, which demands integer storage mode. (This is part of
my ongoing attemp
Hi all,
I'm trying to make an integer-backed quarter (as in fraction of year)
class, but I can't quite it to work. I want integer-backed so I don't
have to worry about floating-point effects when doing math, and so that
I can use it as in data.table.
First of all, is there a good reference for t