timecont: Time conversion

Description Usage Arguments Details Value Examples

View source: R/DateTime.R

Description

Convert time from the HH:MM:SS format to a numerical

Usage

1
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

1
2
Time = c("14:30:00", "20:45:00", "05:00:00")
timecont(Time=Time)

TDPanalysis documentation built on Feb. 28, 2020, 9:09 a.m.