Description Usage Arguments Value Examples
This function has to be set in the UI part of a shiny application It add a windows containing an actionButton to apply scale on numeric vector. apply_scale function has to be set in the Server part.
1 | apply_scale(input, output, session, variable = NULL)
|
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 |
Numeric. Vector containing dataset to apply function on. |
Server logic
1 2 3 4 5 6 7 8 | ## Not run:
# In UI :
apply_scaleUI(id = "mod4")
# In Server
data_module4 <- callModule(module = apply_scale, id = "mod4",
variable = reactive(rv$variable))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.