Learn R Programming

metan (version 1.19.0)

ge_details: Details for genotype-environment trials

Description

[Stable]

Provide details for genotype-environment trials

Usage

ge_details(.data, env, gen, resp)

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.

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.

Author

Tiago Olivoto tiagoolivoto@gmail.com

Examples

Run this code
# \donttest{
library(metan)
details <- ge_details(data_ge2, ENV, GEN, everything())
print(details)
# }

Run the code above in your browser using DataLab