timecont {TDPanalysis} | R Documentation |
Time conversion
Description
Convert time from the HH:MM:SS format to a numerical
Usage
timecont(Time, sep = ":")
Arguments
Time |
Vector with time to convert. |
sep |
Character element containing regular expression(s) to use to splitting. |
Details
time vector should be in the HH:MM:SS format.
Value
Return a vector containing the corresponding time.
Examples
Time = c("14:30:00", "20:45:00", "05:00:00")
timecont(Time=Time)
[Package TDPanalysis version 1.0 Index]