Learn R Programming

agricolae (version 1.2-6)

friedman: Friedman test and multiple comparison of treatments

Description

The data consist of b mutually independent k-variate random variables called b blocks. The random variable is in a block and is associated with treatment. It makes the multiple comparison of the Friedman test with or without ties. A first result is obtained by friedman.test of R.

Usage

friedman(judge,trt,evaluation,alpha=0.05,group=TRUE,main=NULL,console=FALSE)

Arguments

judge

Identification of the judge in the evaluation

trt

Treatment

evaluation

Variable

alpha

Significant test

group

TRUE or FALSE

main

Title

console

logical, print output

Value

judge

Vector

trt

Vector

evaluation

Vector

alpha

Numeric

group

Logic

main

Text

Details

The post hoc friedman test is using the criterium Fisher's least significant difference (LSD)

References

Practical Nonparametrics Statistics. W.J. Conover, 1999

See Also

kruskal, durbin.test

Examples

Run this code
# NOT RUN {
library(agricolae)
data(grass)

out<-with(grass,friedman(judge,trt, evaluation,alpha=0.05, group=TRUE,console=TRUE,
main="Data of the book of Conover"))
#startgraph
bar.group(out$groups,density=3,border="red",col="blue",ylim=c(0,45))
#endgraph
# }

Run the code above in your browser using DataLab