Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

info_time_style

View a table with info on time styles


Description

The fmt_time() function lets us format time-based values in a convenient manner using preset styles. The table generated by the info_time_style() function provides a quick reference to all five styles, with associated number codes, the format names, and example outputs using a fixed time (14:35).

Usage

info_time_style()

Value

An object of class gt_tbl.

Figures

Function ID

10-2

See Also

Examples

# Get a table of info on the different
# time-formatting styles (which are used
# by supplying a number code to the
# `fmt_time()` function)
tab_1 <- info_time_style()

gt

Easily Create Presentation-Ready Display Tables

v0.2.2
MIT + file LICENSE
Authors
Richard Iannone [aut, cre] (<https://orcid.org/0000-0003-3925-190X>), Joe Cheng [aut], Barret Schloerke [aut] (<https://orcid.org/0000-0001-9986-114X>), RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.