apply_scale: apply_scaleUI

Description Usage Arguments Value Examples

Description

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.

Usage

1
apply_scale(input, output, session, variable = NULL)

Arguments

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.

Value

Server logic

Examples

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)

ardata-fr/Shiny-Modules-Tutorials documentation built on June 27, 2019, 4:20 p.m.