Description Usage Arguments Author(s) References Examples
Scott-Knott test to group means. This function was tested and it worked correctly for completely random design and randomized complete block design.
1 | LScottKnott(anova, which, conf.level=0.95)
|
anova |
A |
which |
The factor in the fitted model for be used in the test. |
conf.level |
A numeric value between zero and one. Default is 0.95. |
Laercio Junio da Silva laerciojunio@yahoo.com.br
GATES, C.E.; BILBRO, J.D. Illustration of a Cluster Analysis Method for Mean Separation. Agronomy Journal, Vol.70, May-June 1978.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #completely random design
require(laercio)
ldata$trat <- factor(ldata$trat)
anv <- aov(resp~trat,ldata)
anova(anv)
LScottKnott(anv,"trat")
#randomized complete block design
require(laercio)
ldata$trat <- factor(ldata$trat)
ldata$block <- factor(ldata$block)
anv <- aov(resp~trat+block,ldata)
anova(anv)
LScottKnott(anv,"trat")
LScottKnott(anv,"block")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.