powered by
Convert time from the HH:MM:SS format to a numerical
timecont(Time, sep = ":")
Vector with time to convert.
Character element containing regular expression(s) to use to splitting.
Return a vector containing the corresponding time.
time vector should be in the HH:MM:SS format.
# NOT RUN { Time = c("14:30:00", "20:45:00", "05:00:00") timecont(Time=Time) # }
Run the code above in your browser using DataLab