[R] connect points in charts

Christof Kluß ckluss at email.uni-kiel.de
Fri Oct 26 13:41:54 CEST 2012


Hi

is there a automatic way that long distances between points are not
connected. I have something like

plot(x,y,type="o",...)

atx <- seq(as.Date("2009-04-01"),as.Date("2011-04-01"),"month")

axis.Date(1, at=atx,labels=format(atx, "%b\n%Y"),  padj=0.5 )

but I do not want lines between points whose distance is greater than
two weeks.

thx
Christof



More information about the R-help mailing list