| time_unit_full | R Documentation |
time_unit_full(x)
time_unit_plural(x, n = 2L)
time_unit_abbr(x)
x |
A time granule object (e.g., |
n |
Numeric quantity used to select singular or plural form. |
These functions are superseded by unit_labels() and unit_scheme(), and
are only kept as thin wrappers for backwards compatibility.
time_unit_full() returns the full unit name template (e.g. "year{?/s}"),
time_unit_plural() pluralises it for a quantity, and time_unit_abbr()
returns the unit symbol (e.g. "Y").
A string representing the time unit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.