add_time_to_date: convert separate lists of dates and times to POSIXlt objects

Description Usage Arguments Value

View source: R/util.r

Description

Some datetime data is presented as a separate dates and times. This function restores the full date-time.

Usage

1
add_time_to_date(tms, dts, verbose = FALSE)

Arguments

tms

vector of times, i.e. number in range 0 to 2400, as string or integer, with or without trailing zeros

dts

vector of dates, in string format %Y-%m-%d or simple R Date objects

verbose

single logical value, if TRUE then produce verbose messages

Value

vector of POSIXlt date-times


jackwasey/jwutil documentation built on Jan. 20, 2020, 6:56 p.m.