h2 | R Documentation |
h2 is a function to estimate broad sense heritaiblity of multienvironmental trials from the variance components of an lme4 model object. It only considers the two-way interaction between genotypes and environments.
h2(lm = lm, varg = "g", varge = "g:trt", reps = NULL, envs.col = NULL)
lm |
Is an lme4 model object with a GxE term. |
varg |
Is the genetic variance as expressed in the lme4 model object |
varge |
is the GxE variance as expressed in the lme4 object |
reps |
Is the name of the column in the data frame that contains the reps |
envs.col |
Is the name of the column in the data frame that contains the envrionments, treatments, etc. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.