[R] Help with time in R

2010-07-20 Thread Sarah Chisholm
Hi, I have a problem with the time formatting in R. I have entered time in the format "MM:SS.xyz" and R has automatically classified this as a factor, but I need it numerically. However when I use as.numeric() it gives me totally different numbers. Is there any way I can tell R to read thes inp

[R] Help with scatterplots in R

2010-07-28 Thread Sarah Chisholm
Hi, When I plot a scatter plot, R automatically only gives the years on the x-axis. How can I make R also show the months on the x-axis? Thank you very much! [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://st

Re: [R] Help with scatterplots in R

2010-07-29 Thread Sarah Chisholm
rah From: John Kane [jrkrid...@yahoo.ca] Sent: 28 July 2010 12:48 To: r-help@r-project.org; Sarah Chisholm Subject: Re: [R] Help with scatterplots in R I think that we need an example of what you are doing before anyone can really answer that question. At

Re: [R] Help with plots

2010-08-04 Thread Sarah Chisholm
Hi, I am trying to plot several time series plots with R, but I can't seem to get the x-axis properly formatted. What I am doing at the moment is: dates <- seq(as.Date("2007/06/10", "%Y/%m/%d"), as.Date("2010/03/28", "%Y/%m/%d"), 7) par(mfrow=c(5,2)) plot(DateJonEnd1, End1Jon, main="Weekly Tr