metalite_table1 {metalite.table1} | R Documentation |
Interactive Table of Descriptive Statistics in HTML
Description
Interactive Table of Descriptive Statistics in HTML
Usage
metalite_table1(
formula,
data,
id,
var_listing = NULL,
total = TRUE,
header = NULL,
download = "none",
record_name = NULL,
...
)
Arguments
formula |
an object of class "formula". |
data |
a data frame that contain variables described in the |
id |
a character value to indicate subject/record id variable name in |
var_listing |
a character vector of additional variables included in the drill down listing. |
total |
a logical value to display or hide "Total" column. |
header |
a logical vector with length 1 or same length of the variables in |
download |
a character value to enable download button. Allowed values include "none", "listing", "table", and 'all'. |
record_name |
a character value to control section title (e.g. "Subjects", "Records"). |
... |
additional arguments passed to |
Value
a shiny.tag.list
object that contain a reactable
HTML widget for
interactive table of describptive statistics.
Examples
if (interactive()) {
metalite_table1(~ AGE + SEX | TRT01A, data = r2rtf::r2rtf_adsl, id = "SUBJID")
}