Re: [R] Enquiries about time plots in R

2008-11-12 Thread Philipp Pagel
> I am trying to do some time plots with R but it seems that it > is not working. The problem is that the time is not regular, > for example, a small dataset can be seen below: > Date pH > 1/02/1998 5.5 > 5/03/1998 5 > 8/12/1998 6 > 1/02/1999 6.1 > ... > 08/10/200

Re: [R] Enquiries about time plots in R

2008-11-12 Thread Gabor Grothendieck
Try this (in reality you would use the commented line in place of the subsequent line) and then read the three zoo vignettes and R News 4/1. library(zoo) library(chron) Lines <- "Date pH 1/02/1998 5.5 5/03/1998 5 8/12/1998 6 1/02/1999 6.1 08/10/20007.2" # z <-

[R] Enquiries about time plots in R

2008-11-12 Thread Lathouri, Maria
Dear all, My name is Maria Lathouri and I am currently doing a PhD at Imperial College of London about time series of environmental variables in surface waters. I am trying to do some time plots with R but it seems that it is not working. The problem is that the time is not regular, for exampl