[R] years from as.POSIXlt

Thomas Petzoldt thpe at hhbio.wasser.tu-dresden.de
Wed Mar 10 00:12:45 CET 2004


>as.numeric(format(x, f="%j"))

which is the right code, works perfectly, too.

Thomas P.




More information about the R-help mailing list