Hi all,

I have two vectors of data:

The first vector contains timestamps (as integers), however the
difference between these dates varies. For instance, the vector can be
c(0, 5 , 10, 20, 25, 30) so that there is a "jump" between the third and
the fourth element.

The second vector contains the associated values that I want to plot
against these timestamps.

My problem is that I can't figure out how to label the x-axis with
timestamps that are not continuous but have jumps, as in the example
above. I tried relabeling the x-axis and using ts objects, but these
approaches seem to require continuous time series.

I appreciate any hint.

Best,
Jochen

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to