ezInteractiveTableRmd: Generates an interactive table

View source: R/io.R

ezInteractiveTableRmdR Documentation

Generates an interactive table

Description

Generates an interactive table embeded in rmarkdown document.

Usage

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

Arguments

values

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

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

table = data.frame(a=c(1.11, 2:100), b=201:300)
ezInteractiveTableRmd(table)

uzh/ezRun documentation built on May 4, 2024, 3:23 p.m.