timestr {durmod}R Documentation

Prettyprint a time interval

Description

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

Usage

timestr(t)

Arguments

t

numeric. time in seconds.

Value

A character string is returned.

Examples

timestr(1.3)
timestr(73)
timestr(4684)

[Package durmod version 1.1-2 Index]