Trials
Overview
StabilityApp runs the twenty analyses of the package stability in a web browser: tables of means and effects; analyses of variance in each environment, combined and Eberhart and Russell’s; Finlay and Wilkinson’s regression, variance measures, Shukla’s stability variance with Kang’s yield-stability statistic, Kang’s rank-sum and Fox’s top third; Eskridge’s safety-first indices, Annicchiarico’s reliability index, Lin and Binns’ superiority measure and Huehn’s nonparametric statistics; AMMI analysis, biplots and stability values; and the GGE biplot with the which-won-where, mean-stability and discrimination views in each of its three scalings.
Every analysis shows
- an interpretation written for its method and computed from its results (
stability::stab_interpret()); - its tables (CSV and Excel export) and plots (PNG and PDF);
- the R code that repeats it.
A longer written interpretation can be requested from an external text service with your own key (sa_services()); the request (sa_prompt()) is specific to the method and contains the computed findings, which the text must keep to. No data file is sent.

Installation
install.packages("StabilityApp")
# development version
# install.packages("remotes")
remotes::install_github("myaseen208/StabilityApp")The package stability, which does the analyses, and the other packages it needs are installed with it automatically. To install from a downloaded source file, use a function that also installs the dependencies:
# install.packages("remotes")
remotes::install_local("StabilityApp_1.0.0.tar.gz")(install.packages("StabilityApp_1.0.0.tar.gz", repos = NULL) does not install dependencies; with it, run install.packages("stability") first.)
Deploy
The application is in inst/shinyapp/app.R (installed: system.file("shinyapp", package = "StabilityApp")). To publish it on shinyapps.io or Posit Connect, install StabilityApp and stability from CRAN or GitHub (not from a local file: the server installs the packages from where they came from), then
rsconnect::deployApp(
appDir = system.file("shinyapp", package = "StabilityApp")
, appName = "StabilityApp"
)Keys for the optional text services can be set on the server as environment variables (see sa_services()); otherwise each user types a key on the Settings page.
Start
library(StabilityApp)
StabilityApp(
launch.browser = TRUE
)Learn more
- Vignettes:
browseVignettes("StabilityApp"), as HTML and as PDF. - Site: https://myaseen208.com/StabilityApp/
- The analyses in R: the package stability.