rsa | R Documentation |
Function to run the regression stability analysis (Yates and Cochran, 1938, Finlay and Wilkinson, 1963).
rsa(trait, geno, env, rep, dfr, maxp = 0.1)
trait |
The trait to analyze. |
geno |
The genotypes. |
env |
The environments. |
rep |
The replications. |
dfr |
The name of the data frame. |
maxp |
Maximum allowed proportion of missing values to estimate, default is 10%. |
The regression stability analysis is evaluated with a balanced data set. If data is unbalanced, missing values are estimated up to an specified maximum proportion, 10% by default. For the ANOVA table, genotypes and environments are considered as fixed factors while the blocks are considered as random and nested into the environments. To run a regression stability analysis you need a set of genotypes evaluated in a set of environments. At least 3 genotypes or environments are needed. In a regression stability analysis for genotypes grown at several environments, for each genotype a simple linear regression of individual yield (Y) on the mean yield of all genotypes for each environment (X) is fitted. In a similar way, for each environment a simple linear regression of individual yield (Y) on the mean yield of all environments for each genotype (X) is fitted. In both cases the X values are centered on zero, so the intercepts of the models correspond to the means of the genotypes or environments.
It returns the regression stability analysis decomposition of the GxE interaction for genotypes and environments (Heterogeneity among regressions and deviation from regression), the coefficient of variation, and the following regression stability measures for genotypes and environments:
a
the intercept.
b
the slope.
se
the standard error for the slope.
MSe
the mean square error.
MSentry
the variance of the genotype means across environments and the environment
means across genotypes.
MSinter
the variance of the genotype interaction effects across environments and the
environment interaction effects across genotypes.
Raul Eyzaguirre.
Finlay, K. W., and Wilkinson, G. N. (1963). The Analysis of Adaption in a Plant-Breeding Programme. Aust. J. Agric. Res. 14: 742-754.
Yates, F., and Cochran, W. G. (1938). The Analysis of Group Experiments. J. Agric. Sci. 28: 556-580.
rsa("y", "geno", "env", "rep", met8x12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.