ge_effects | R Documentation |
This is a helper function that computes the genotype-environment effects, i.e., the residual effect of the additive model
ge_effects(.data, env, gen, resp, type = "ge", verbose = TRUE)
.data |
The dataset containing the columns related to Environments, Genotypes, replication/block and response variable(s). |
env |
The name of the column that contains the levels of the environments. The analysis of variance is computed for each level of this factor. |
gen |
The name of the column that contains the levels of the genotypes. |
resp |
The response variable(s). To analyze multiple variables in a
single procedure a vector of variables may be used. For example |
type |
The type of effect to compute. Defaults to |
verbose |
Logical argument. If |
A list where each element is the result for one variable that contains a two-way table with genotypes in rows and environments in columns.
Tiago Olivoto tiagoolivoto@gmail.com
library(metan) ge_eff <- ge_effects(data_ge, ENV, GEN, GY) gge_eff <- ge_effects(data_ge, ENV, GEN, GY, type = "gge") plot(ge_eff)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.