Skip to contents

[Experimental]

Usage

example_module(label = "example teal module")

Arguments

label

character, the label of the module

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)
}