Re: [R] Missing basic understanding of classes, generic functions and methods

2008-10-03 Thread rkevinburton
It turns out not to be a misunderstanding about generice functions it was a mistaken assumption about the values being returned from 'fft'. I made the mistaken assumption (based on an EE background) that 'fft' would always return a vector of complex numbers. I didn't realize that 'fft' could als

[R] Missing basic understanding of classes, generic functions and methods

2008-10-03 Thread Martin Maechler
> <[EMAIL PROTECTED]> > on Thu, 2 Oct 2008 10:02:04 -0700 writes: > Sorry, I must be looking at a different section but when I look at 3.4 in r-intro.pdf I see: > 3.4 The class of an object > All objects in R have a class, reported by the function class. For simple vect