View source: R/table_stability.R
table_stability | R Documentation |
table_stability
export all the stability indices in the package.
table_stability(
data,
trait,
genotype,
environment,
lambda,
normalize = FALSE,
unit.correct = FALSE
)
data |
a data frame containing trait, genotype and environment. |
trait |
colname of a column containing a numeric vector of interested trait to be analyzed. |
genotype |
colname of a column containing a character or factor vector labeling different genotypic varieties. |
environment |
colname(s) of a column containing a character or factor vector labeling different environments, if input is a vector containing multiple column names, then it will be merged into single environment column in the function. |
lambda |
the minimal acceptable value of trait that the user expected from crop across environments. Lambda should between the ranges of trait vlaue. |
normalize |
logical, default is |
unit.correct |
logical, default is |
Combine all stability indices in this package and export as a table, including mean trait, normality of the trait across environment.
a data table with multiple stability indices
Tien-Cheng Wang
doering2018toolStability \insertRefpinthus1973toolStability \insertReffinlay1963toolStability \insertRefeberhart1966toolStability \insertRefwricke1962toolStability \insertRefroemer1917toolStability \insertRefhanson1970toolStability \insertReflin1988toolStability \insertRefshukla1972toolStability \insertRefnassar1987toolStability \insertRefeskridge1990toolStability
adjusted_coefficient_of_variation
coefficient_of_determination
coefficient_of_regression
deviation_mean_squares
ecovalence
environmental_variance
genotypic_stability
genotypic_superiority_measure
stability_variance
variance_of_rank
safety_first_index
data(Data)
tb <- table_stability(
data = Data,
trait = "Yield",
genotype = "Genotype",
environment = "Environment",
lambda = median(Data$Yield),
normalize = TRUE,
unit.correct=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.