[R] A problem with string handling to make a time duration
g.rudge at bham.ac.uk
Tue May 5 14:00:06 CEST 2015
Thanks guys. The first solution with the gsub / lapply works perfectly. The
solution using substrings would work if the times were in a consistent
format, but without the leading zeros and with some parts of the string
absent completely it would need some extra logic to apply. I need something
to automate over a data set with a million or so time points in it.
View this message in context: http://r.789695.n4.nabble.com/A-problem-with-string-handling-to-make-a-time-duration-tp4706795p4706822.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help