ge_details: Details for genotype-environment trials

View source: R/ge_details.R

ge_detailsR Documentation

Details for genotype-environment trials

Description

[Stable]

Provide details for genotype-environment trials

Usage

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.

Value

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.

Author(s)

Tiago Olivoto tiagoolivoto@gmail.com

Examples


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


TiagoOlivoto/metan documentation built on March 27, 2024, 2:35 a.m.