[R] Error plotting time series

Sven Garbade garbade at psy.uni-muenchen.de
Mon Jul 9 16:14:41 CEST 2001


Peter Dalgaard BSA wrote:
> 
> Sven Garbade <garbade at psy.uni-muenchen.de> writes:
> 
> > Hi there,
> >
> > when plotting a time series I got this error message:
> >
> > Error in xy.coords(x, y, xlabel, ylabel, log) :
> >       x and y lengths differ
> >
> > In addition: Warning messages:
> > 1: longer object length
> >       is not a multiple of shorter object length in: vx.1[int.lr] + (-1) *
> > vx.2[int.rl]
> >
> > vx.1[int.rl] and vx.2[int.rl] have the same length. Does anybody know
> > what the warning message means?
> >
> > Thanks, Sven
> 
> That you typed vx.1[int.lr] instead of vx.1[int.rl], perhaps?

Oh sorry, the mail is wrong, it must be vx.1[int.rl] and vx.2[int.lr].
Both vectors have the same length. I've evaluated this by 

 return(length(vx.1[int.lr]), length(vx.2[int.rl]))

(all vectors have the same length) before the plotting command.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list