run_sae_app | R Documentation |
This function launches an interactive Shiny application for performing
Hierarchical Bayesian Small Area Estimation (HBSAE) using the brms
package
with Stan
as the backend for Bayesian inference.
run_sae_app()
Opens a Shiny app in the web browser. The function does not return a value.
Achmad Syahrul Choir and Arsyka Laila Oktalia Siregar
Rao, J. N. K., & Molina, I. (2015). Small Area Estimation. John Wiley & Sons.
# Launch the HBSAE Shiny application (run interactively only)
if (interactive()) {
run_sae_app()
}
# The function will open an interactive web application in your default browser
# where you can:
# 1. Upload your small area data
# 2. Specify model parameters
# 3. Run Hierarchical Bayesian analysis
# 4. View and download results
# Note: This function requires an interactive R session
# and will open a web browser to display the Shiny application
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.