tabTableTwo: tabTableTwo function

View source: R/ui_tab_tables.R

tabTableTwoR Documentation

tabTableTwo function

Description

Function to create a tab panel with two tables.

Usage

tabTableTwo(id, table_one, table_two)

Arguments

id

A string representing the id.

table_one

A string representing the first table.

table_two

A string representing the second table.

Value

A tab panel with two tables.

Examples

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)

vvshiny documentation built on July 26, 2023, 5:50 p.m.