View source: R/dummy_functions.R
example_module | R Documentation |
teal
moduleexample_module(
label = "example teal module",
datanames = "all",
transformators = list(),
decorators = list()
)
This module creates an object called object
that can be modified with decorators.
The object
is determined by what's selected in Choose a dataset
input in UI.
The object can be anything that can be handled by renderPrint()
.
See the vignette("transform-module-output", package = "teal")
or teal_transform_module
to read more about decorators.
A teal
module which can be included in the modules
argument to init()
.
app <- init(
data = teal_data(IRIS = iris, MTCARS = mtcars),
modules = example_module()
)
if (interactive()) {
shinyApp(app$ui, app$server)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.