ge_details function

Details for genotype-environment trials

Details for genotype-environment trials

Provide details for genotype-environment trials

ge_details(.data, env, gen, resp)

Arguments

  • .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.
  • 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 resp = c(var1, var2, var3). Select helpers are also allowed.

Returns

A tibble with the following results for each variable:

  • Mean: The grand mean.
  • SE: The standard error of the mean.
  • SD: The standard deviation.
  • CV: The coefficient of variation.
  • Min,Max: The minimum and maximum value, indicating the genotype and environment of occurence.
  • MinENV, MinGEN: The environment and genotype with the lower mean.
  • MaxENV, MaxGEN: The environment and genotype with the higher mean.

Examples

library(metan) details <- ge_details(data_ge2, ENV, GEN, everything()) print(details)

Author(s)

Tiago Olivoto tiagoolivoto@gmail.com