View source: R/ui_tab_tables.R
tabTableTwo | R Documentation |
Function to create a tab panel with two tables.
tabTableTwo(id, table_one, table_two)
id |
A string representing the id. |
table_one |
A string representing the first table. |
table_two |
A string representing the second table. |
A tab panel with two tables.
dummy_data1 <- data.frame(
A = 1:5,
B = letters[1:5]
)
dummy_dt1 <- DT::datatable(dummy_data1)
dummy_data2 <- data.frame(
X = 6:10,
Y = letters[6:10]
)
dummy_dt2 <- DT::datatable(dummy_data2)
tabTableTwo("dummy_id", dummy_dt1, dummy_dt2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.