Description Usage Arguments Details Value Functions Examples
A shiny module for cs_cor_plotly.
1 2 3 4 5 | cs_cor_plotly_ui(id)
cs_cor_plotly_server(id, csbl_vars)
cs_cor_plotly_app(use_online_data = FALSE)
|
id |
An ID string of module to connecting UI function and Server function. |
csbl_vars |
A tibble of vars of cross-section. |
use_online_data |
A logical to determine whether to use test data from database or not. Default FALSE means to use achieved data for tests. |
The module is an UI for user to display plots of display correlation
by plotly
package.
UI function doesn't return value.
Server function return a data frame of ...
cs_cor_plotly_ui
: UI function of cs_cor_plotly.
cs_cor_plotly_server
: Server function of cs_cor_plotly.
cs_cor_plotly_app
: Testing App of cs_cor_plotly.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
# Set up control UI in app UI
ui <- fluidPage(
cs_cor_plotly_ui("cs_cor_plotly_module")
)
# Call control server in App server
server <- function(input, output, session) {
cs_cor_plotly <- cs_cor_plotly_server(
"cs_cor_plotly_module",
csbl_vars = reactive(csbl_vars)
)
}
# Run testing App for integration testing
cs_cor_plotly_app()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.