Learn R Programming

astro (version 1.2)

nicetime: Convert Seconds into a Human Readable Time

Description

Converts an input raw time value, such as that given by 'proc.time', and converts it into a human readable time format.

Usage

nicetime(seconds)

Arguments

seconds
number of seconds

Value

The output character string will display the input time (in seconds) in units of days, hours, minutes and seconds, as appropriate.

See Also

The astronomy package: astro.