huxtable v1.2.0

0

Monthly downloads

0th

Percentile

Simply Create LaTeX and HTML Tables

Creates HTML and LaTeX tables. Provides similar functionality to 'xtable', but does more, with a simpler interface. Includes a 'huxreg' function for quick creation of regression tables. Allows export to Microsoft Word or Powerpoint using the 'officer' package.

Readme

h

u

x

table

CRAN Status Badge Travis-CI Build Status CRAN Downloads Per Month Coverage Status

Huxtable is an R package for creating HTML and LaTeX tables. It provides similar functionality to xtable, but does more, with a simpler interface. Features include control over text styling, number format, background color, borders, padding and alignment. Cells can span multiple rows and/or columns. Tables can be manipulated with standard R subsetting or dplyr functions. Huxtable includes a huxreg() function for quick creation of regression tables, and allows output to Microsoft Word or Powerpoint using the officer package.

Installing

To install from CRAN:

install.packages('huxtable')

To install from github:

install.packages('devtools')
devtools::install_github('hughjonesd/huxtable')

Learning more

Check out the website, read the documentation or read the vignette in HTML or PDF.

Functions in huxtable

Name Description
background_color Background color
add_footnote Add a row with a footnote
bold Cell text style
add_colnames Add column or row names
caption Caption
caption_pos Caption position
font_size Font size
get_default_properties Get default huxtable properties
align Alignment
as_FlexTable Convert a huxtable for Word/Powerpoint
cbind.huxtable Combine rows or columns
huxtable-package Huxtable: simply create LaTeX and HTML tables
col_width Column widths
huxtable Create a huxtable
final Return the last n rows or columns
font Font
report_latex_dependencies Report LaTeX dependencies
guess_knitr_output_format Guess knitr output format
rotation Text rotation
height Table height
set_cell_properties Set multiple cell properties
insert_column Insert a row or column
is_a_number Does an object look like a number?
set_default_properties Set default huxtable properties
left_padding Cell padding
themes Theme a huxtable
na_string NA string
print_html Create HTML representing a huxtable
number_format Number format
pad_decimal Decimal padding
print_screen Print a huxtable on screen
rowspecs Row and column specifications
valign Vertical alignment
sanitize Sanitize table elements
where Return array indices where expression is true
escape_contents Escape cell contents
every Return every n row or column numbers
width Table width
label Table label
latex_float Float position for LaTeX
[.huxtable Subset a huxtable
filter Pointless documentation
left_border Borders
hux_logo Huxtable logo
huxreg Create a huxtable to display model output
left_border_color Border colors
wrap Text wrapping
set_all_border_colors Set all border colors
colspan Column span
mutate.huxtable Dplyr verbs for huxtable
set_all_borders Set all borders
set_outer_borders Set outer borders round a rectangle of cells
print_latex Create LaTeX representing a huxtable
t.huxtable Transpose a huxtable
tabular_environment Tabular environment
print_md Create Markdown representing a huxtable
text_color Text color
position Table position
print.huxtable Default print method for huxtables
row_height Row heights
rowspan Row span
No Results!

Vignettes of huxtable

Name
comparison.csv
design-principles.Rmd
huxreg.Rmd
huxtable.Rmd
placeins-header.tex
No Results!

Last month downloads

Details

Type Package
Date 2017-12-17
License MIT + file LICENSE
Encoding UTF-8
LazyData true
RoxygenNote 6.0.1
URL https://hughjonesd.github.io/huxtable
BugReports https://github.com/hughjonesd/huxtable/issues
VignetteBuilder knitr
NeedsCompilation no
Packaged 2017-12-17 14:38:41 UTC; david
Repository CRAN
Date/Publication 2017-12-17 16:28:58 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/huxtable)](http://www.rdocumentation.org/packages/huxtable)