decimal_time: Extract Time as a Decimal of Hours

View source: R/std_date.R

decimal_timeR Documentation

Extract Time as a Decimal of Hours

Description

Extract Time as a Decimal of Hours

Usage

decimal_time(x)

Arguments

x

A vector with hour, minute, and/or second information that can be extracted by lubridate's hour(), minute(), and second() functions (respectively).

Value

A double vector of decimal hours


jesse-smith/coviData documentation built on Jan. 14, 2023, 11:08 a.m.