Learn R Programming

TDPanalysis (version 1.0)

timecont: 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.

Value

Return a vector containing the corresponding time.

Details

time vector should be in the HH:MM:SS format.

Examples

Run this code
# 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