# Easily Create and Style Tables for LaTeX, HTML and Other Formats

## Documentation for package ‘huxtable’ version 4.7.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

A B C D E F G H I J K L M N O P Q R S T V W misc

huxtable-FAQ-package | Frequently Asked Questions, including how to get help
huxtable-options-package | Package options
huxtable-package | Quick introduction to huxtable

## -- A --

add_colnames | Add column or row names
add_colnames.huxtable | Add column or row names
add_columns | Insert one matrix into another.
add_footnote | Add a row with a footnote
add_rownames | Add column or row names
add_rownames.huxtable | Add column or row names
add_rows | Insert one matrix into another.
align | Alignment
align<- | Alignment
as_FlexTable | Convert a huxtable for Word/Powerpoint
as_flextable | Convert a huxtable for Word/Powerpoint
as_flextable.huxtable | Convert a huxtable for Word/Powerpoint
as_hux | Convert objects to huxtables
as_huxtable | Convert objects to huxtables
as_huxtable.default | Convert objects to huxtables
as_Workbook | Convert a huxtable for Excel
as_Workbook.huxtable | Convert a huxtable for Excel

## -- B --

background_color | Background color
background_color<- | Background color
bold | Cell text style
bold<- | Cell text style
bottom_border | Borders
bottom_border<- | Borders
bottom_border_color | Border colors
bottom_border_color<- | Border colors
bottom_border_style | Border styles
bottom_border_style<- | Border styles
bottom_padding | Cell padding
bottom_padding<- | Cell padding
by_cases | Map cell contents to properties using 'case_when'
by_colorspace | Map numeric cell contents smoothly to colors
by_cols | Set cell properties by row or column
by_equal_groups | Map numeric quantiles to cell properties
by_function | Map cell contents to cell properties using a function or scale
by_quantiles | Map numeric quantiles to cell properties
by_ranges | Map numeric ranges to cell properties
by_regex | Map cells matching a string or regex to cell properties
by_rows | Set cell properties by row or column
by_values | Map specific cell values to cell properties

## -- C --

caption | Caption
caption<- | Caption
caption_pos | Caption position
caption_pos<- | Caption position
cbind.huxtable | Combine rows or columns
check_latex_dependencies | Tools for LaTeX dependencies
colspan | Row and column span
colspan<- | Row and column span
col_width | Column widths
col_width<- | Column widths
contents | Set cell contents
contents<- | Set cell contents

## -- D --

dplyr-verbs | Dplyr verbs for huxtable

## -- E --

escape_contents | Escape cell contents
escape_contents<- | Escape cell contents
evens | Return every n row or column numbers
every | Return every n row or column numbers
everywhere | Return every n row or column numbers

## -- F --

final | Return the last n rows or columns
font | Font
font<- | Font
font_size | Font size
font_size<- | Font size
format.huxtable | Default print method for huxtables

## -- G --

get_default_properties | Default huxtable properties
glance.tidy_override | Override a model's 'tidy' output
guess_knitr_output_format | Guess knitr output format

## -- H --

height | Table height
height<- | Table height
hex_hux | Deprecated functions
hux | Create a huxtable
huxreg | Create a huxtable to display model output
huxtable | Create a huxtable
huxtable-deprecated | Deprecated functions
huxtable-FAQ | Frequently Asked Questions, including how to get help
huxtable-options | Package options
huxtable_FAQ | Frequently Asked Questions, including how to get help
huxtable_options | Package options
huxtable_package | Quick introduction to huxtable
hux_hex | Deprecated functions
hux_logo | Huxtable logo

## -- I --

insert_column | Insert a row or column
insert_row | Insert a row or column
install_latex_dependencies | Tools for LaTeX dependencies
is_a_number | Deprecated functions
is_hux | Convert objects to huxtables
is_huxtable | Convert objects to huxtables
italic | Cell text style
italic<- | Cell text style

## -- J --

jams | Prices of 3 jams

## -- K --

knit_print.data.frame | Print data frames in knitr using huxtable
knit_print.huxtable | Print a huxtable within knitr

## -- L --

label | Table label
label<- | Table label
latex_float | Float position for LaTeX
latex_float<- | Float position for LaTeX
left_border | Borders
left_border<- | Borders
left_border_color | Border colors
left_border_color<- | Border colors
left_border_style | Border styles
left_border_style<- | Border styles
left_padding | Cell padding
left_padding<- | Cell padding

## -- M --

mapping-functions | How to set cell properties variably by cell contents
mapping_functions | How to set cell properties variably by cell contents
map_align | Alignment
map_all_borders | Set left, right, top and bottom properties
map_all_border_colors | Set left, right, top and bottom properties
map_all_border_styles | Set left, right, top and bottom properties
map_all_padding | Set left, right, top and bottom properties
map_background_color | Background color
map_bold | Cell text style
map_bottom_border | Borders
map_bottom_border_color | Border colors
map_bottom_border_style | Border styles
map_bottom_padding | Cell padding
map_colspan | Row and column span
map_contents | Set cell contents
map_escape_contents | Escape cell contents
map_font | Font
map_font_size | Font size
map_italic | Cell text style
map_left_border | Borders
map_left_border_color | Border colors
map_left_border_style | Border styles
map_left_padding | Cell padding
map_na_string | NA string
map_number_format | Number format
map_pad_decimal | Deprecated functions
map_right_border | Borders
map_right_border_color | Border colors
map_right_border_style | Border styles
map_right_padding | Cell padding
map_rotation | Text rotation
map_rowspan | Row and column span
map_text_color | Text color
map_top_border | Borders
map_top_border_color | Border colors
map_top_border_style | Border styles
map_top_padding | Cell padding
map_valign | Vertical alignment
map_wrap | Text wrapping
merge_cells | Merge a range of cells
merge_repeated_rows | Merge repeated rows into multirow cells
mutate | Dplyr verbs for huxtable
mutate.huxtable | Dplyr verbs for huxtable

## -- N --

na_string | NA string
na_string<- | NA string
nobs.tidy_override | Override a model's 'tidy' output
number_format | Number format
number_format<- | Number format

## -- O --

odds | Return every n row or column numbers

## -- P --

pad_decimal | Deprecated functions
pad_decimal<- | Deprecated functions
position | Table position
position<- | Table position
print.huxtable | Default print method for huxtables
print_html | Create HTML representing a huxtable
print_latex | Create LaTeX representing a huxtable
print_md | Create Markdown representing a huxtable
print_notebook | Create HTML representing a huxtable
print_rtf | Create RTF representing a huxtable
print_screen | Print a huxtable on screen

## -- Q --

quick-output | Quickly print objects to a PDF, TeX, HTML, Microsoft Office or RTF document.
quick_docx | Quickly print objects to a PDF, TeX, HTML, Microsoft Office or RTF document.
quick_html | Quickly print objects to a PDF, TeX, HTML, Microsoft Office or RTF document.
quick_latex | Quickly print objects to a PDF, TeX, HTML, Microsoft Office or RTF document.
quick_pdf | Quickly print objects to a PDF, TeX, HTML, Microsoft Office or RTF document.
quick_pptx | Quickly print objects to a PDF, TeX, HTML, Microsoft Office or RTF document.
quick_rtf | Quickly print objects to a PDF, TeX, HTML, Microsoft Office or RTF document.
quick_xlsx | Quickly print objects to a PDF, TeX, HTML, Microsoft Office or RTF document.

## -- R --

rbind.huxtable | Combine rows or columns
report_latex_dependencies | Tools for LaTeX dependencies
right_border | Borders
right_border<- | Borders
right_border_color | Border colors
right_border_color<- | Border colors
right_border_style | Border styles
right_border_style<- | Border styles
right_padding | Cell padding
right_padding<- | Cell padding
rotation | Text rotation
rotation<- | Text rotation
rowspan | Row and column span
rowspan<- | Row and column span
rowspecs | Different ways to select rows and columns
row_height | Row heights
row_height<- | Row heights
rtf_fc_tables | Create RTF font and color tables

## -- S --

sanitize | Escape text for various formats
set-multiple | Set left, right, top and bottom properties
set_align | Alignment
set_all_borders | Set left, right, top and bottom properties
set_all_border_colors | Set left, right, top and bottom properties
set_all_border_styles | Set left, right, top and bottom properties
set_all_padding | Set left, right, top and bottom properties
set_background_color | Background color
set_bold | Cell text style
set_bottom_border | Borders
set_bottom_border_color | Border colors
set_bottom_border_style | Border styles
set_bottom_padding | Cell padding
set_caption | Caption
set_caption_pos | Caption position
set_cell_properties | Set multiple cell properties
set_colspan | Row and column span
set_col_width | Column widths
set_contents | Set cell contents
set_default_properties | Default huxtable properties
set_escape_contents | Escape cell contents
set_font | Font
set_font_size | Font size
set_height | Table height
set_italic | Cell text style
set_label | Table label
set_latex_float | Float position for LaTeX
set_left_border | Borders
set_left_border_color | Border colors
set_left_border_style | Border styles
set_left_padding | Cell padding
set_multiple | Set left, right, top and bottom properties
set_na_string | NA string
set_number_format | Number format
set_outer_borders | Set borders around a rectangle of cells
set_outer_border_colors | Set borders around a rectangle of cells
set_outer_border_styles | Set borders around a rectangle of cells
set_pad_decimal | Deprecated functions
set_position | Table position
set_right_border | Borders
set_right_border_color | Border colors
set_right_border_style | Border styles
set_right_padding | Cell padding
set_rotation | Text rotation
set_rowspan | Row and column span
set_row_height | Row heights
set_tabular_environment | Tabular environment
set_text_color | Text color
set_top_border | Borders
set_top_border_color | Border colors
set_top_border_style | Border styles
set_top_padding | Cell padding
set_valign | Vertical alignment
set_width | Table width
set_wrap | Text wrapping

## -- T --

t.huxtable | Transpose a huxtable
tabular_environment | Tabular environment
tabular_environment<- | Tabular environment
text_color | Text color
text_color<- | Text color
themes | Theme a huxtable
theme_article | Theme a huxtable
theme_basic | Theme a huxtable
theme_blue | Theme a huxtable
theme_green | Theme a huxtable
theme_grey | Theme a huxtable
theme_mondrian | Theme a huxtable
theme_orange | Theme a huxtable
theme_plain | Theme a huxtable
theme_striped | Theme a huxtable
tidy.tidy_override | Override a model's 'tidy' output
tidy_override | Override a model's 'tidy' output
top_border | Borders
top_border<- | Borders
top_border_color | Border colors
top_border_color<- | Border colors
top_border_style | Border styles
top_border_style<- | Border styles
top_padding | Cell padding
top_padding<- | Cell padding
to_html | Create HTML representing a huxtable
to_html.huxtable | Create HTML representing a huxtable
to_latex | Create LaTeX representing a huxtable
to_latex.huxtable | Create LaTeX representing a huxtable
to_md | Create Markdown representing a huxtable
to_md.huxtable | Create Markdown representing a huxtable
to_rtf | Create RTF representing a huxtable
to_rtf.huxtable | Create RTF representing a huxtable
to_screen | Print a huxtable on screen
to_screen.huxtable | Print a huxtable on screen
tribble_hux | Create a huxtable

## -- V --

valign | Vertical alignment
valign<- | Vertical alignment

## -- W --

where | Deprecated functions
width | Table width
width<- | Table width
wrap | Text wrapping
wrap<- | Text wrapping

## -- misc --

$<-.huxtable | Subset a huxtable
[.huxtable | Subset a huxtable
[<-.huxtable | Subset a huxtable
[[<-.huxtable | Subset a huxtable
_PACKAGE | Quick introduction to huxtable