Hi all.
I've found that also in R-2.3.0 there is the bad labelling previously found
in R-2.2.1.
x <- ts(1:3)
plot(lag(x,1),x) #labels 1 and 3 are superposed on the first point.
plot(lag(x,1),x, xy.labels=as.character (1:2)) #this is ok
xy <- ts.intersect(lag(x,1),x)
plot(xy[,1],xy[,2]) #this also is ok
The same problem is shown by lag.plot, which in turn calls plot.ts. Also
note that lag.plot documentation is incomplete for the labels argument. It
states:
" labels: logical indicating if labels should be used."
But in fact it seems it can be used as the 'xy.labels' argument of plot.ts,
i.e., it can also be a character vector of labels.
Antonio, Fabio Di Narzo.
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel