gt (version 0.2.2)

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()

Arguments

Value

An object of class gt_tbl.

Figures

Function ID

10-2

See Also

Other Information Functions: info_currencies(), info_date_style(), info_google_fonts(), info_locales(), info_paletteer()

Examples

Run this code
# NOT RUN {
# 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()

# }

Run the code above in your browser using DataLab