[R] tsdiag error

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Sep 10 09:59:00 CEST 2008



rkevinburton at charter.net wrote:
> Does anyone know why I get the following error when trying tsdiag?
> 
>     Error in UseMethod("tsdiag") : no applicable method for "tsdiag"
> 
> I am invoking it as: tsdiag(mar).

tsdiag is a generic function that tries to dispatch for "mar", but there 
is no appropriate method available that is able to deal with objects of 
class of "mar". Hence check what classes of objects you can specify for 
tsdiag() and of which class "mar" currently is.

Uwe Ligges


> 
> Thank you.
> 
> Kevin
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list