mve.met | R Documentation |
Function to estimate missing values for a Multi Environment Trial (MET) with a Randomized Complete Block Design (RCBD) by the least squares method.
mve.met(trait, geno, env, rep, dfr, maxp = 0.1, tol = 1e-06)
trait |
The name of the column for the trait to estimate missing values. |
geno |
The name of the column that identifies the genotypes. |
env |
The name of the column that identifies the environments. |
rep |
The name of the column that identifies the replications. |
dfr |
The name of the data frame. |
maxp |
Maximum allowed proportion of missing values to estimate, default is 10%. |
tol |
Tolerance for the convergence of the iterative estimation process. |
It returns a data frame with the experimental layout and columns trait
and trait.est
with the original data and the original data plus the estimated values.
Raul Eyzaguirre.
mve.met("y", "geno", "env", "rep", met8x12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.