On Wed, 10 Mar 2004, Thomas Petzoldt wrote: > >as.numeric(format(x, f="%j")) > > which is the right code, works perfectly, too.
but the recommended procedure is on the help page ?julian, and of course works perfectly. Just use 1+x$yday if you want 1-based day of the year. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
