toolStability: Tool for Stability Indices Calculation logo

Warning: package 'testthat' was built under R version 4.0.4
Version : 0.1.1; License: GPL-3
Wang, T-C. and Chen, T-W.

minimal R version License: GPL v3 CRAN_Status_Badge Dependencies rstudio mirror downloads develVersion Github Code Size R-CMD-check Project Status: Active lifecycle Last-changedate DOI Website - pkgdown .


Tools to calculate stability indices with parametric, non-parametric and probabilistic approaches. The basic data format requirement for ‘toolStability’ is a data frame with 3 columns including numeric trait values, genotype,and environmental labels. Output format of each function is the dataframe with chosen stability index for each genotype. Function “table_stability” offers the summary table of all stability indices in this package. Sample dataset in this package is from: Casadebaig P, Zheng B, Chapman S et al. (2016) <doi: 10.1371/journal.pone.0146385>. Indices used in this package are from: Döring TF, Reckling M (2018) <doi: 10.1016/j.eja.2018.06.007>. Eberhart SA, Russell WA (1966) <doi: 10.2135/cropsci1966.0011183X000600010011x>. Eskridge KM (1990) <doi: 10.2135/cropsci1990.0011183X003000020025x>. Finlay KW, Wilkinson GN (1963) <doi: 10.1071/AR9630742>. Hanson WD (1970) Genotypic stability. <doi: 10.1007/BF00285245>. Lin CS, Binns MR (1988) Nassar R, Hühn M (1987). Pinthus MJ (1973) <doi: 10.1007/BF00021563>. Römer T (1917). Shukla GK (1972). Wricke G (1962).


The package can be installed from CRAN as follows:

install.packages('toolStability', dependencies=TRUE)

The development version can be installed from github as follows:

if (!require('devtools')) install.packages('devtools')
# or
if (!require('remotes')) install.packages('remotes')

Detailed tutorial

For a detailed tutorial (vignette) on how to used this package type:

browseVignettes(package = 'toolStability')

The vignette for the latest version is also available online.

What’s new

To know whats new in this version type:


CRAN page

Documentation website

Zenodo DOI

CRAN checks

Warning: package 'kableExtra' was built under R version 4.0.5
Flavour CRAN check
r-devel-linux-x86_64-debian-clang CRAN check - r-devel-linux-x86_64-debian-clang
r-devel-linux-x86_64-debian-gcc CRAN check - r-devel-linux-x86_64-debian-gcc
r-devel-linux-x86_64-fedora-clang CRAN check - r-devel-linux-x86_64-fedora-clang
r-devel-linux-x86_64-fedora-gcc CRAN check - r-devel-linux-x86_64-fedora-gcc
r-patched-linux-x86_64 CRAN check - r-patched-linux-x86_64
r-release-linux-x86_64 CRAN check - r-release-linux-x86_64
r-patched-solaris-x86 CRAN check - r-patched-solaris-x86
r-devel-windows-ix86+x86_64 CRAN check - r-devel-windows-ix86+x86_64
r-release-windows-ix86+x86_64 CRAN check - r-release-windows-ix86+x86_64
r-oldrel-windows-ix86+x86_64 CRAN check - r-oldrel-windows-ix86+x86_64
r-release-macos-x86_64 CRAN check - r-release-macos-x86_64
r-oldrel-macos-x86_64 CRAN check - r-oldrel-macos-x86_64

Citing toolStability

To cite the methods in the package use:

To cite the R package 'toolStability' in publications use:

  Wang, T-C. and Chen, T-W. ( 2022 ).  toolStability: Tool for
  stability indices calculation.  R package version 0.1.1 , .

A BibTeX entry for LaTeX users is

    title = {toolStability: Tool for Stability Indices Calculation},
    author = {T.-C. Wang and T.-W. Chen},
    year = {2022},
    note = {R package version 0.1.1},
    note = {},
    note = {},

This free and open-source software implements academic research by the
authors and co-workers. If you use it, please support the project by
citing the package.