order.group {agricolae} | R Documentation |
Ordering the treatments according to the multiple comparison
Description
This function allows us to compare the treatments averages or the adding of
their ranges with the minimal significant difference which can vary from one
comparison to another one.
This function is used by the HSD, LSD, Kruskal-Wallis, Friedman or Durbin
procedures.
Usage
order.group(trt, means, N, MSerror, Tprob, std.err, parameter=1)
Arguments
trt |
Treatments |
means |
Means of treatment |
N |
Replications |
MSerror |
Mean square error |
Tprob |
minimum value for the comparison |
std.err |
standard error |
parameter |
Constante 1 (Sd), 0.5 (Sx) |
Value
trt |
Factor |
means |
Numeric |
N |
Numeric |
MSerror |
Numeric |
Tprob |
value between 0 and 1 |
std.err |
Numeric |
parameter |
Constant |
Author(s)
Felipe de Mendiburu
See Also
order.stat
Examples
library(agricolae)
treatments <- c("A","B","C","D","E","F")
means<-c(20,40,35,72,49,58)
std.err<-c(1.2, 2, 1.5, 2.4, 1, 3.1)
replications <- c(4,4,3,4,3,3)
MSerror <- 55.8
value.t <- 2.1314
groups<-order.group(treatments,means,replications,MSerror,value.t,std.err)
groups
bar.err(groups,ylim=c(0,80))
[Package
agricolae version 1.0-6
Index]