An example teal
module
example_module.Rd
Value
A teal
module which can be included in the modules
argument to init()
.
Examples
app <- init(
data = teal_data(
dataset("IRIS", iris),
dataset("MTCARS", mtcars)
),
modules = example_module()
)
if (interactive()) {
shinyApp(app$ui, app$server)
}