Skip to contents

StabilityApp() starts the application: load a trial (the example ge_data of stability or a CSV file with one row per plot), choose the columns, and run any of the twenty analyses of stability. Each analysis shows an interpretation written for its method and computed from its results (stability::stab_interpret()), its tables (with CSV and Excel export), its plots (PNG and PDF), and the R code that repeats it. A longer written interpretation can be requested from an external text service with your own key (sa_services(); optional).

Usage

StabilityApp(launch.browser = interactive(), ...)

sa_app()

Arguments

launch.browser

passed to shiny::runApp(): TRUE (default in an interactive session) opens the application in the web browser.

...

further arguments to shiny::runApp(), such as port.

Value

Called for its side effect; returns the value of shiny::runApp() when the application is closed. sa_app() returns the application object (for shiny::runApp(), shiny::testServer() or deployment). The installed folder system.file("shinyapp", package = "StabilityApp") holds an app.R for rsconnect::deployApp().

Details

The analyses: means and rankings, interaction effects; analysis 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, Fox's top third; AMMI analysis, AMMI biplots, AMMI stability value, modified AMMI stability value, AMMI stability distance; GGE biplot (which won where, mean against stability, discrimination).

The key of a text service is typed on the Settings page (it stays in the session and is not saved) or read from the environment variable named in sa_services().

Author

Muhammad Yaseen (myaseen208@gmail.com), Kent M. Eskridge (keskridge1@unl.edu)

Examples

if (interactive()) {
  StabilityApp(
      launch.browser = TRUE
    )
}