ezInteractiveTableRmd | R Documentation |
Generates an interactive table embeded in rmarkdown document.
ezInteractiveTableRmd(
values,
digits = NULL,
colNames = colnames(values),
rowNames = rownames(values),
title = "",
format = NULL,
envir = parent.frame()
)
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 |
envir |
the environment to evaluate |
Rehrauer, Hubert
Schmid, Peter
datatable
saveWidget
table = data.frame(a=c(1.11, 2:100), b=201:300)
ezInteractiveTableRmd(table)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.