Hi, Erin:
I tried the example in the help file for 'decompose':
m <- decompose(co2)
m$figure
plot(m)
Consistent with your post, I got the following:
> class(m)
[1] "decomposed.ts"
Then I tried the following:
> methods(class="decomposed.ts")
[1
This is an S3 class, not an S4 class. (Package stats does not use S4
classes: only package stats4 in the R tarball does.)
On Sun, 5 Feb 2006, Erin Hodgess wrote:
> Dear R People:
>
> In the function "decompose", the object has the class of "decomposed.ts".
> (from package stats)
>
> I would lik
Try:
getAnywhere(plot.decomposed.ts)
getAnywhere(print.decomposed.ts) # not found; its using print.default
Also note this gives an S3 generic's methods:
methods(plot)
On 2/5/06, Erin Hodgess <[EMAIL PROTECTED]> wrote:
> Dear R People:
>
> In the function "decompose", the object has the class of
Dear R People:
In the function "decompose", the object has the class of "decomposed.ts".
(from package stats)
I would like to see the class definition and the method for the plotting.
However, when I use
isClass("decomposed.ts")
I get "FALSE".
When I check getMethods("plot")
there is no metho