Displaying 2 results from an estimated 2 matches for "03p0192".
Did you mean:
03p0197
2004 Jul 05
1
date Axes and formats in lattice plots
...t to have the date (class POSIXct object) on the Y-axis and the animals longitude on X-axis.
Eg.
xyplot(date ~ longitude, groups = animal, data = my.data)
with data like:
animal ptt year month day lon date
125 03P0014 13273 2003 7 10 150.38 2003-07-10 14:03:48
126 03P0192 20890 2003 7 10 151.13 2003-07-10 14:00:47
127 03P0197 30466 2003 7 10 150.74 2003-07-10 14:02:21
...etc
It all works fine except for the format of the dates that gets displayed.
I am not sure what I need to change within the lattice frame work to get a specific date format (eg. "...
2004 Aug 10
1
date axes and formats in levelplot
...) on the
> Y-axis and the animals longitude on X-axis. Eg.
>
> xyplot(date ~ longitude, groups = animal, data = my.data)
>
> with data like:
>
> animal ptt year month day lon date
> 125 03P0014 13273 2003 7 10 150.38 2003-07-10 14:03:48
> 126 03P0192 20890 2003 7 10 151.13 2003-07-10 14:00:47
> 127 03P0197 30466 2003 7 10 150.74 2003-07-10 14:02:21
> ...etc
>
> It all works fine except for the format of the dates that gets
> displayed.
>
> I am not sure what I need to change within the lattice frame work to
> g...