Skip to content

Error plotting time series

3 messages · Peter Dalgaard, Sven Garbade

#
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
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Sven Garbade <garbade at psy.uni-muenchen.de> writes:
That you typed vx.1[int.lr] instead of vx.1[int.rl], perhaps?
#
Peter Dalgaard BSA wrote:
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._