View source: R/make_dem_table.R
make_dem_table | R Documentation |
Generates display ready demographics table.
make_dem_table(dat, expr, tblname = NA, type = "html", ...)
dat |
Data.frame containing classification and demographic variables. |
expr |
Expression of how to populate table. |
tblname |
Name of the table. |
type |
Type of table to make. Currently only |
... |
Passed onto htmlTable |
make_dem_table
Generate display ready demographics table.
Generates display ready demographic table from given expression.
HTML ready table.
dem_table
view_dem_table
data(iris) iristbl <- make_dem_table(iris, Species ~ ., 'Iris') view_dem_table(iristbl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.