Man pages for gt
Easily Create Presentation-Ready Display Tables

adjust_luminanceAdjust the luminance for a palette of colors a *gt* object to a data frame
as_latexOutput a *gt* object as LaTeX
as_raw_htmlGet the HTML content of a *gt* table
as_rtfOutput a *gt* object as RTF
as_wordOutput a *gt* object as Word
cell_bordersHelper for defining custom borders for table cells
cell_fillHelper for defining custom fills for table cells
cells_bodyLocation helper for targeting data cells in the table body
cells_column_labelsLocation helper for targeting the column labels
cells_column_spannersLocation helper for targeting the column spanners
cells_footnotesLocation helper for targeting the footnotes
cells_grand_summaryLocation helper for targeting cells in a grand summary
cells_groupLocation helper for targeting row groups (deprecated)
cells_row_groupsLocation helper for targeting row groups
cells_source_notesLocation helper for targeting the source notes
cells_stubLocation helper for targeting cells in the table stub
cells_stub_grand_summaryLocation helper for targeting the stub cells in a grand...
cells_stubheadLocation helper for targeting the table stubhead cell
cells_stub_summaryLocation helper for targeting the stub cells in a summary
cells_summaryLocation helper for targeting group summary cells
cells_titleLocation helper for targeting the table title and subtitle
cell_textHelper for defining custom text styles for table cells
cols_alignSet the alignment of columns
cols_align_decimalAlign all numeric values in a column along the decimal mark
cols_hideHide one or more columns
cols_labelRelabel one or more columns
cols_label_withRelabel columns with a function
cols_mergeMerge data from two or more columns to a single column
cols_merge_n_pctMerge two columns to combine counts and percentages
cols_merge_rangeMerge two columns to a value range column
cols_merge_uncertMerge columns to a value-with-uncertainty column
cols_moveMove one or more columns
cols_move_to_endMove one or more columns to the end
cols_move_to_startMove one or more columns to the start
cols_unhideUnhide one or more columns
cols_widthSet the widths of columns
countrypopsYearly populations of countries from 1960 to 2021
currencySupply a custom currency symbol to 'fmt_currency()'
data_colorPerform data cell colorization
default_fontsProvide a vector of sensible system fonts for use with *gt*...
escape_latexPerform LaTeX escaping
exibbleA toy example tibble for testing with gt: exibble
extract_cellsExtract a vector of formatted cells from a *gt* object
extract_summaryExtract a summary list from a *gt* object
fmtSet a column format with a formatter function
fmt_autoAutomatically format column data according to their values
fmt_binsFormat column data containing bin/interval information
fmt_bytesFormat values as bytes
fmt_currencyFormat values as currencies
fmt_dateFormat values as dates
fmt_datetimeFormat values as datetimes
fmt_durationFormat numeric or duration values as styled time duration...
fmt_engineeringFormat values to engineering notation
fmt_flagGenerate flag icons for countries from their country codes
fmt_fractionFormat values as mixed fractions
fmt_imageFormat image paths to generate images in cells
fmt_indexFormat values to indexed characters
fmt_integerFormat values as integers
fmt_markdownFormat Markdown text
fmt_missingFormat missing values (deprecated)
fmt_numberFormat numeric values
fmt_partsperFormat values as parts-per quantities
fmt_passthroughFormat by simply passing data through
fmt_percentFormat values as a percentage
fmt_romanFormat values as Roman numerals
fmt_scientificFormat values to scientific notation
fmt_spelled_numFormat values to spelled-out numbers
fmt_timeFormat values as times
fmt_urlFormat URLs to generate links
ggplot_imageHelper function for adding a ggplot
google_fontHelper function for specifying a font from the _Google Fonts_...
grand_summary_rowsAdd grand summary rows using aggregation functions
grp_addAdd one or more *gt* tables to a 'gt_group' container object
grp_cloneClone one or more *gt* tables in a 'gt_group' container...
grp_optionsModify table options for all tables within a 'gt_group'...
grp_pullPull out a *gt* table from a 'gt_group' container object
grp_replaceReplace one or more *gt* tables in a 'gt_group' container...
grp_rmRemove one or more *gt* tables from a 'gt_group' container...
gtCreate a *gt* table object
gtcarsDeluxe automobiles from the 2014-2017 period
gt_groupCreate a 'gt_group' container for holding multiple *gt* table...
gt_latex_dependenciesGet the LaTeX dependencies required for a *gt* table
gt-options*gt* package options
gt_outputCreate a *gt* display table output element for Shiny
gt-packagegt: Easily Create Presentation-Ready Display Tables
gt_previewGenerate a special *gt* table for previewing a dataset
gtsaveSave a *gt* table as a file
gt_splitSplit a table into a group of tables (a 'gt_group')
htmlInterpret input text as HTML-formatted text
info_currenciesView a table with info on supported currencies
info_date_styleView a table with info on date styles
info_google_fontsView a table on recommended Google Fonts
info_localesView a table with info on supported locales
info_paletteerView a table with info on color palettes
info_time_styleView a table with info on time styles
local_imageHelper function for adding a local image
mdInterpret input text as Markdown-formatted text
metroThe stations of the Paris Metro
opt_align_table_headerOption to align the table header
opt_all_capsOption to use all caps in select table locations
opt_cssOption to add custom CSS for the table
opt_footnote_marksOption to modify the set of footnote marks
opt_footnote_specOption to specify the formatting of footnote marks
opt_horizontal_paddingOption to expand or contract horizontal padding
opt_interactiveOption to put interactive elements in an HTML table
opt_row_stripingOption to add or remove row striping
opt_stylizeStylize your table with a colorful look
opt_table_fontOptions to define font choices for the entire table
opt_table_linesOption to set table lines to different extents
opt_table_outlineOption to wrap an outline around the entire table
opt_vertical_paddingOption to expand or contract vertical padding
pctHelper for providing a numeric value as percentage
pipePipe operator
pizzaplaceA year of pizza sales from a pizza place
print.gt_groupPrint a collection of *gt* tables
print.gt_tblPrint a *gt* table
print.rtf_textPrint RTF text
pxHelper for providing a numeric value as pixels value
random_idHelper for creating a random 'id' for a *gt* table
reexportsObjects exported from other packages
render_gtA *gt* display table render function for use in Shiny
rm_captionRemove the table caption
rm_footnotesRemove table footnotes
rm_headerRemove the table header
rm_source_notesRemove table source notes
rm_spannersRemove column spanner labels
rm_stubheadRemove the stubhead label
row_group_orderModify the ordering of any row groups
rx_addvAn ADDV-flavored clinical trial toy dataset
rx_adslAn ADSL-flavored clinical trial toy dataset
sp500Daily S&P 500 Index data from 1950 to 2015
stubSelect helper for targeting the stub column
sub_large_valsSubstitute large values in the table body
sub_missingSubstitute missing values in the table body
sub_small_valsSubstitute small values in the table body
sub_valuesSubstitute targeted values in the table body
sub_zeroSubstitute zero values in the table body
summary_rowsAdd group-wise summary rows using aggregation functions
system_fontsGet a themed font stack that works well across systems
szaTwice hourly solar zenith angles by month & latitude
tab_captionAdd a table caption
tab_footnoteAdd a table footnote
tab_headerAdd a table header
tab_infoUnderstand what's been set inside of a *gt* table object
tab_optionsModify the table output options
tab_row_groupAdd a row group to a *gt* table
tab_source_noteAdd a source note citation
tab_spannerAdd a spanner column label
tab_spanner_delimCreate column labels and spanners via delimited names
tab_stubheadAdd label text to the stubhead
tab_stub_indentControl indentation of row labels in the stub
tab_styleAdd custom styles to one or more cells
tab_style_bodyTarget cells in the table body and style accordingly
test_imageGenerate a path to a test image
text_case_matchPerform whole or partial text replacements with a...
text_case_whenPerform whole text replacements using a...
text_replacePerform highly targeted text replacement with a regex pattern
text_transformPerform text transformations with a custom function
townyPopulations of all municipalities in Ontario from 1996 to...
vec_fmt_bytesFormat a vector as values in terms of bytes
vec_fmt_currencyFormat a vector as currency values
vec_fmt_dateFormat a vector as date values
vec_fmt_datetimeFormat a vector as datetime values
vec_fmt_durationFormat a vector of numeric or duration values as styled time...
vec_fmt_engineeringFormat a vector as values in engineering notation
vec_fmt_fractionFormat a vector as mixed fractions
vec_fmt_indexFormat a vector as indexed characters
vec_fmt_integerFormat a vector as integer values
vec_fmt_markdownFormat a vector containing Markdown text
vec_fmt_numberFormat a vector as numeric values
vec_fmt_partsperFormat a vector as parts-per quantities
vec_fmt_percentFormat a vector as percentage values
vec_fmt_romanFormat a vector as Roman numerals
vec_fmt_scientificFormat a vector as values in scientific notation
vec_fmt_spelled_numFormat a vector as spelled-out numbers
vec_fmt_timeFormat a vector as time values
web_imageHelper function for adding an image from the web
gt documentation built on April 3, 2023, 5:18 p.m.