Learn R Programming

ldamatch (version 1.0.3)

.get_human_readable: Returns human readable format for number of seconds.

Description

Returns human readable format for number of seconds.

Usage

.get_human_readable(seconds, num_decimals = 1)

Value

A string containing "<number> seconds/minutes/hours/days/years".

Arguments

seconds

The number of seconds to convert to human-readable form.

num_decimals

The number of decimals to print in the output.