Построение временного TS и исключение данных NA

I'm trying to plot some temporal data that have some gaps in them. You can see the plot here: http://www.tiikoni.com/tis/view/?id=da222e2.
The problem is that during the time gaps in the TS the line plot is interpolated over the gap and I don't want it to. I've tried interleaving the gaps with an NA flag, but there are around 10000 datapoints sorted from multiple files, that makes it difficult to add the NA flag manually. If it's not possible to define the behaviour of the plot(0function, is there another plot I can use, e.g. zoo, that will allow me to not have the lines drawn between the gaps?

5
задан Cœur 5 February 2017 в 07:28
поделиться