sec_to_hms: Function that converts seconds to a character format hh:mm:ss

View source: R/sec_to_hms.R

sec_to_hmsR Documentation

Function that converts seconds to a character format hh:mm:ss

Description

This function converts a number of seconds to a character format hh:m:ss

Usage

sec_to_hms(secs)

Arguments

secs

a number of seconds to be formatted

Value

A character vector of formatted seconds

Examples

sec_to_hms(c(8, 66))
sec_to_hms(8 + 66)

avrincon/phdfuns documentation built on Nov. 13, 2022, 10:34 a.m.