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, ...)Logical; if TRUE (default) the app is opened in
the default web browser.
Further arguments passed to runApp.
Called for its side effect (starts the app); returns invisibly when the app is closed.
The application requires the packages shiny, shinydashboard, shinyjs, DT, ggplot2 and corrplot.
if (interactive()) {
SamplingStrataApp()
}