Hello,
I have a timeSeries object B containing data for non-consecutive days,
say:
B <- timeSeries(cbind(B1=4:7,B2=7:10),pos=c(1:2,5:6))
and would like to plot it such that the gaps in the data are visible.
However, when I use the plot.timeSeries() function, the data points
corresponding to non-consecutive days are connected through a line:
plot.timeSeries(B,reference.grid=F)
Is there a way to get plot.timeSeries to automatically recognize the gaps
in the data and display them as such?
Thank you in advance for any insight you may be able to provide!
Isabella R. Ghement, Ph.D.
|