Description Usage Arguments Details Value Functions Examples
A shiny module for cs_missing_mice.
1 2 3 4 5 | cs_missing_mice_ui(id)
cs_missing_mice_server(id, csbl_vars)
cs_missing_mice_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 missing data by mice
package.
UI function doesn't return value.
Server function doesn't return value.
cs_missing_mice_ui
: UI function of cs_missing_mice.
cs_missing_mice_server
: Server function of cs_missing_mice.
cs_missing_mice_app
: Testing App of cs_missing_mice.
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_missing_mice_ui("cs_missing_mice_module")
)
# Call control server in App server
server <- function(input, output, session) {
cs_missing_mice <- cs_missing_mice_server(
"cs_missing_mice_module",
csbl_vars = reactive(csbl_vars)
)
}
# Run testing App for integration testing
cs_missing_mice_app()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.