hms2sec: Convert HH:MM:SS to seconds

Description Usage Arguments Value

Description

Convert strings HH:MM:SS into relative seconds distance from 11:29:00, as the final minute puts more on the possibility of winning a bid.

Usage

1
hms2sec(hms_str, anchor = "11:29:00")

Arguments

anchor

the initial time point to calculate relative lag seconds

hmm_str

the time string in form as "11:29:10"

Value

a value or vector of relative lag seconds


caesar0301/ppai documentation built on May 13, 2019, 10:38 a.m.