| stratifyRApp | R Documentation |
Opens the stratifyR web interface in the default browser. The
application gives no-code access to the package: users upload their own data
(CSV or Excel) or select a built-in dataset, compute optimum stratum
boundaries and sample sizes with the "dp", "cobyla" or
"global" solvers, compare design efficiencies, explore boundaries
interactively, and download the results.
stratifyRApp(...)
... |
Additional arguments passed to |
The application needs shiny, bslib and DT to start; if any
of these is missing, stratifyRApp() stops with a short installation
hint rather than a cryptic error. The optional packages plotly,
readxl, ggplot2 and stratification add features
(interactive 2D/3D and slider plots, Excel upload, and the
Lavallee-Hidiroglou comparison). The app opens without them, and on launch it
reports any that are not installed so nothing fails silently. To install
everything the app can use:
install.packages(c("shiny", "bslib", "DT",
"plotly", "readxl", "ggplot2", "stratification"))
Called for its side effect (launches a Shiny app); returns
NULL invisibly.
## Not run:
stratifyRApp()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.