minuteTime: Convert numeric time to HH:MM

View source: R/dyn_helpers.R

minuteTimeR Documentation

Convert numeric time to HH:MM

Description

Copied from actel

Usage

minuteTime(x, format = c("h", "m", "s"), seconds = TRUE)

Arguments

x

Single string or a vector of strings containing hours:minutes or hours:minutes:seconds.

format

the format of x, one of "h" (hours), "m", (minutes) or "s" (seconds).

seconds

Logical; If TRUE, output is returned in HH:MM:SS format.

Value

Decimal hour equivalent (single value or vector)


YuriNiella/RSP documentation built on Feb. 2, 2024, 5:03 a.m.