asl | R Documentation |
This function adds columns to a datra frame with averages to identify non significant pairwise comparisons.
asl(dfr, geno, aver, lsd, symbol = NULL)
dfr |
The name of the data frame. |
geno |
The name of the column that identifies the genotypes. |
aver |
The name of the column with the averages. |
lsd |
Least significant value. |
symbol |
If |
The data frame is sorted descending and columns are added to
identify non singnificant pairwise comparisons. By default it works with
letters unless a different symbol is specified in symbol
.
It returns a data frame with averages and non significant lines.
Raul Eyzaguirre.
# Adjust model
model <- aov.rcbd("trw", "geno", "rep", pjpz09)
# LSD values
lsd <- sqrt(model[3, 3]) * qt(.975, model[3, 1])
# Compute means
ests <- docomp('mean', 'trw', 'geno', dfr = pjpz09)
# Add non significant lines
ests <- asl(ests, 'geno', 'trw', lsd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.