export: Export scan objects to html or latex

Description Usage Arguments Value

View source: R/export.R

Description

This function is in an experimental status. Export creates html files of tables or displayes them directly in the viewer pane of rstudio. When applied in rmarkdown, tables can also be created for pdf/latex output.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
export(
  object,
  filename = NULL,
  kable_styling_options = list(),
  kable_options = list(),
  cols,
  flip = FALSE,
  note = TRUE,
  ...
)

Arguments

object

An scdf

filename

Character string with the filename. If a filename is provided the output will be written into this file.

kable_styling_options

list with arguments passed to the kable_styling function.

kable_options

list with arguments passed to the kable function.

cols

Defines which columns are included when a scdf is exported. It is either a vector with variable names or the string "main" will select the central variables.

flip

If TRUE, some objects are displayed with rows and columns flipped.

note

If TRUE additional information are printed below the table.

...

Further Arguments passed to internal functions.

Value

Returns a specif formated html.


scan documentation built on Feb. 12, 2021, 3:01 a.m.