News for hackers. Stuff that matters.
Re:R by example by rosenbergdm on Wednesday May 26, 2010 @07:56PM (#1382196)
One of the best all-around plotting packages for R (in my opinion) is Hadley Wickham's ggplot2 .

Take a look at the following pages: http://had.co.nz/ggplot2/scale_datetime.html http://had.co.nz/ggplot2/geom_line.html

While not specifically inentended as a 'time-series' package, ggplot2's facilities handle time-series data well. Ggplot2 is available on CRAN (i.e. install.packages('ggplot2'); ).

In truth, you don't even have to use a special package if the 'prettiness isn't important.'

df <- data.frame( day7 = start + round(runif(100, max = 7 * 86400)), hour10 = start + round(runif(100, max = 10 * 3600)), y = runif(100) ); plot(df$day7, df$y); plot(df$hour10, df$y);

Re:R by example by dantheman on Wednesday May 26, 2010 @09:09PM (#1382359)
Excellent, thanks.