Description Usage Format Examples
The example dataset for Augmented randomized block design
1 |
A data frame with 78 observations on the following 4 variables.
var
a factor
blk
a numeric vector - blocks
trt
a numeric vector - treatments
gw
a numeric vector - grain weight
1 2 3 4 5 6 7 8 9 10 | data(augblock)
out <- aug.rcb(dataframe = augblock, genotypes = "var", block = "blk", yvar = "gw")
out$anova # analysis of variance
out$adjusted_values # yield observed and expected value table
# calculation of means
stab <- aggregate( gw ~ var, data=augblock, FUN= mean)
hist(stab$gw, col = "cadetblue", xlab = "Grain Yield",
main = "Mean yields from Augmented Yield Trial")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.