Starts an interactive application that guides the user through the whole SamplingStrata workflow: data loading, variable selection and categorisation, frame and strata construction, precision constraints, optional take-all strata, optimisation, evaluation, sample selection, and export of a reproducible R script.

SamplingStrataApp(launch.browser = TRUE, ...)

Arguments

launch.browser

Logical; if TRUE (default) the app is opened in the default web browser.

...

Further arguments passed to runApp.

Value

Called for its side effect (starts the app); returns invisibly when the app is closed.

Details

The application requires the packages shiny, shinydashboard, shinyjs, DT, ggplot2 and corrplot.

Examples

if (interactive()) {
  SamplingStrataApp()
}