[R] Dateticks

Bernard L. Dillard bld at math.umd.edu
Tue Jun 14 18:27:54 CEST 2005


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample.pdf
Type: application/pdf
Size: 9873 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20050614/c781e058/sample.pdf


More information about the R-help mailing list