[R] a date x-axis in a xyplot

2008-11-04 Thread jass
Dear all, In the x-axis of a xyplot I define dates ,for example 01-10-2007 instead of numbers, in a range of 77 days. I would like in my output to have the whole date as a point. When I plot it, then the output is a big mess! I can not distinguish anything; the result is a thick, black line

Re: [R] a date x-axis in a xyplot

2008-11-04 Thread hadley wickham
Is your variable actually a date? R doesn't recognise dates automatically - you need to create them with as.Date or similar. Hadley On Tue, Nov 4, 2008 at 3:22 AM, [EMAIL PROTECTED] wrote: Dear all, In the x-axis of a xyplot I define dates ,for example 01-10-2007 instead of numbers, in a

Re: [R] a date x-axis in a xyplot

2008-11-04 Thread Jim Lemon
[EMAIL PROTECTED] wrote: Dear all, In the x-axis of a xyplot I define dates ,for example 01-10-2007 instead of numbers, in a range of 77 days. I would like in my output to have the whole date as a point. When I plot it, then the output is a big mess! I can not distinguish anything; the