ezInteractiveTable: Saves an interactive table

View source: R/io.R

ezInteractiveTableR Documentation

Saves an interactive table

Description

Saves an interactive table accessible with the provided tableLink.

Usage

ezInteractiveTable(
  values,
  tableLink,
  digits = NULL,
  colNames = colnames(values),
  title = "",
  format = NULL,
  envir = parent.frame()
)

Arguments

values

a data.frame or table to create an interactive table from.

tableLink

a character ending with .html representing the link to the interactive table

digits

the number of digits to round to, if rounding is desired.

colNames

a character vector specifying the column names of the interactive table.

title

a character representing the title of the interactive table.

format

formatting options passed as an expression. The table argument in formatting functions must be named interactiveTable.

envir

the environment to evaluate format in.

Author(s)

Rehrauer, Hubert

Schmid, Peter

See Also

datatable

saveWidget

Examples

tableLink = "exampleTable.html"
table = data.frame(a=c(1.11, 2:100), b=201:300)
ezInteractiveTable(table, tableLink)

uzh/ezRun documentation built on Dec. 26, 2024, 9:53 a.m.