Description Usage Arguments Value Examples
This function has to be set in the Server part of a shiny application it adds the load data windows. show_dataUI function has to be set in the UI part.
1 2 |
input |
Not a real parameter, should not be set manually. Done by callModule automatically. |
output |
Not a real parameter, should not be set manually. Done by callModule automatically. |
session |
Not a real parameter, should not be set manually. Done by callModule automatically. |
variable |
Reactive numeric vector |
variable_name |
Reactive character |
useggplot |
Boolean if use ggplot or basic hist function |
Server logic
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
# In UI :
show_dataUI(id = "mod1")
# In Server
data_module1 <- callModule(
module = show_data,
id = "mod3",
variable = variable,
variable_name = variable_name
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.