saveTableLandscape: save labelled dataframe to html and pdf file silently in...

Description Usage Arguments Examples

View source: R/huxtableUtils.R

Description

save labelled dataframe to html and pdf file silently in rotated format for a landscape page

Usage

1
2
3
4
5
6
7
8
saveTableLandscape(
  labelledDataframe,
  filename,
  pageLength = 8,
  defaultFontSize = 10,
  tableWidth = NULL,
  colWidths = NULL
)

Arguments

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)

Examples

1
2
setwd(tempdir())
hux(iris) %>% saveTableLandscape("iris")

terminological/standard-print-output documentation built on July 18, 2021, 9:29 a.m.