trialstatslist | R Documentation |
Function suited to prcess lme4 model objects to calculate the broad sense heritability, and statistical parameter of field experiments, i.e, CV, ASED, LSD, etc.,
trialstatslist(
lm = lm,
varg = "g",
varge = NULL,
reps = NULL,
envs.col = NULL,
means.gxe = F,
which.means = NULL,
ASED = F,
gxe.model = F,
save.output = T,
file.name = "line-means"
)
lm |
Is an lme4 model object. It is a model where the genotypes are included as random effect to extract the G variance |
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. |
means.gxe |
Logical to indicate if the GxE adjusted means will be estimated |
which.means |
A character to indicate which adusted means will be extracted from the model. |
ASED |
Logical to indicate if the ASED will be calculated. Default is FALSE, to speed computation since in this implementation ASED requires estimation of all pairwise comparisons of means which can be slow if the data frame is large |
gxe.model |
Logical to indicate if the lme4 object model is a GxE type |
save.output |
Logical to indicate if the outuput of adjuste means and trial stats will be saved in the computer |
file.name |
Character to indicate the name of the file if save.output = TRUE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.