Description Usage Arguments Value Examples
This function has to be set in the Server part of a shiny application. The module merges modules apply_function, apply_scale, show_data & funHistory merge_modulesUI function has to be set in the UI part.
1 | merge_modules(input, output, session, data, name)
|
input, output, session |
mandatory arguments for modules to be valid. These should not to be defined as they will be handled by shiny. |
data |
Numeric vector (not a reactive variable). |
name |
Variable name (not a reactive variable). |
reactiveValues with 2 slots : name : name of the variable. nb_funs : number of functions applied on vector.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# In UI :
merge_modulesUI(id = "id1")
# In Server
data_module1 <- callModule(
module = merge_modules,
id = "id1",
data = iris$Sepal.Length,
name = "Sepal.Length")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.