[R] plot POSIX class and identify
Petr Pikal
petr.pikal at precheza.cz
Tue May 20 14:05:00 CEST 2003
Thank you
On 20 May 2003 at 12:10, Uwe Ligges wrote:
> Petr Pikal wrote:
> > Hallo all
> > just a small question I did not find an answer in help pages.
> >
> > Is it possible to use identify() after plotting with plot.POSIX to
>
> Hmmm. There is not method plot.POSIX, but there are plot.POSIXct and
> plot.POSIXlt.
>
> > label points and/or to find out some points?
>
> identify() works as expected, just use it. You need to convert POSIXlt
> objects to POSIXct objects before.
That's it
> plot(cas,pokus$tspkkp)
> identify(cas,pokus$tspkkp)
Error in xy.coords(x, y) : x and y lengths differ
> identify(as.POSIXct(cas),pokus$tspkkp)
[1] 1919 5448
Thanks again
>
> Uwe Ligges
>
> > Thanks a lot.
> > Best regards
> >
> > Petr Pikal
> > petr.pikal at precheza.cz
> > p.pik at volny.cz
>
Petr Pikal
petr.pikal at precheza.cz
p.pik at volny.cz
More information about the R-help
mailing list