Forum: help


Issue with plot a xts hat has only 2 values [ Reply ] By: Derek Foo on 2011-04-07 17:10 | [forum:4236] |
Hi, It seems plot.xts has issue in dealing with time series that has 2 values or less. It would complain the following: Error in if (on == "years") { : missing value where TRUE/FALSE needed Here is a way to reproduce the issue: plot(xts(rep(1,2), seq(2) + Sys.time())) Thanks, Derek |