Skip to content
Prev 2479 / 15274 Next

two zoo questions

On Fri, May 9, 2008 at 8:21 AM, michal miklovic <mmiklovic at yahoo.com> wrote:
By "empty segments" do you mean you just want to plot the data
against 1, 2, 3, ... and then label successive times as
format(time(ShorterSpan), "...") on the X axis?

If that is it then try this:

s <- zoo(coredata(ShorterSpan))
plot(s, screens = 1, type = "p", col = 1:3, xaxt = "n")
axis(1, time(s), format(time(ShorterSpan), "%m-%d"), cex.axis = 0.5)