Description Usage Arguments Examples
View source: R/huxtableUtils.R
save labelled dataframe to html and pdf file silently in rotated format for a landscape page
1 2 3 4 5 6 7 8 | saveTableLandscape(
labelledDataframe,
filename,
pageLength = 8,
defaultFontSize = 10,
tableWidth = NULL,
colWidths = NULL
)
|
filename |
file of desired output without extension. |
pageLength |
maximum length of the page in inches (8) |
defaultFontSize |
default size of font in points (10) |
tableWidth |
width of the table in inches or NULL to fit contents automatically |
colWidths |
a vector of relative column widths |
labelledDataFrame |
e.g. select(dataframe,"col 1 title"=col1) |
1 2 | setwd(tempdir())
hux(iris) %>% saveTableLandscape("iris")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.