timestr: Prettyprint a time interval

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Converts a time in seconds to a short string e.g. "3m4s".

Usage

1

Arguments

t

numeric. time in seconds.

Value

A character string is returned.

Examples

1
2
3
timestr(1.3)
timestr(73)
timestr(4684)

durmod documentation built on March 31, 2020, 5:23 p.m.