[R] lag.plot messy labels default

From: Antonio, Fabio Di Narzo <antonio.fabio_at_gmail.com>
Date: Sun 19 Feb 2006 - 05:57:17 EST

Hi all.
Using R 2.2.1 I have encountered the following trivial problem with lag.plot.


produces a labelled, directed lines "lag plot". But labels are taken to be as.character(1:3)
so x-y coordinates for the last label have to be recycled, and one actually sees on the screen labels "1" and "3" overlapping. Typing:

lag.plot(1:3, labels=as.character(1:2))

solves the problem. Of course, the problem is there for univariate time series of any length (just tried some values:D ).

Have a nice week end,
Antonio, Fabio Di Narzo.

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Feb 19 06:00:37 2006

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 14:08:46 EST