On Mon, 17 Nov 2008 15:30:14 -0000 "Lathouri, Maria" <[EMAIL PROTECTED]> wrote:
LM> I want to do some time plots and actually the dates are in the LM> format of dd/mm/yyyy. So first I input my dataframe in R in a csv LM> form. What I do is DF<-read.csv("C:/Documents and Settings/DF.csv") LM> DATE<-as.Date(DATE, "%d/%m/%Y") # to tell R that DATE column is LM> indeed dates with(DF, plot(DATE,pH)) Use a time series class for your data. Then you will get plots with lines. Have a look at the zoo package and/or ?ts Stefan ______________________________________________ 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.