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