Probably strptime() -- see its help page. strsplit() is fairly easy but you would need to reorganize it's output.
On Fri, 21 Feb 2003, James Taylor wrote: > What is the easiest way yo convert a column of time eg 09:25:45 into > three columns of hour, minute,seconds Is that a character string: I am assuming so, but they are printed with quotes? Your subject says `date and time', but your example is only a time. -- 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 http://www.stat.math.ethz.ch/mailman/listinfo/r-help
