str_hms: Function to format a 'hms' vector to a clean character...

View source: R/str_hms.R

str_hmsR Documentation

Function to format a hms vector to a clean character vector.

Description

Function to format a hms vector to a clean character vector.

Usage

str_hms(x, round = NA)

Arguments

x

A hms vector.

round

Number of decimal points to round to. The default is NA which means no rounding.

Value

Character vector with length of x.

Author(s)

Stuart K. Grange


skgrange/threadr documentation built on May 11, 2024, 12:16 p.m.