[R] Dateticks

From: Bernard L. Dillard <bld_at_math.umd.edu>
Date: Wed 15 Jun 2005 - 02:27:54 EST


Hello. I am having the worst time converting x-axis date ticks to real dates. I have tried several suggestions in online help tips and books to no avail.

For example, the x-axis has 0, 50, 100, etc, and I want it to have "6/17/03", "8/6/03" etc. See attached (sample).

Can anybody help me with this.

Here's my code:

ts.plot(date.attackmode.table[,1], type="l", col="blue", lty=2,ylab="IED

     Attacks", lwd=2,xlab="Attack Dates",main="Daily Summary of Attack
     Mode")

grid()

Thanks for your help if possible.



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Jun 15 02:32:53 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:36 EST