Learn R Programming

agricolae (version 1.2-0)

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

  • judgeVector
  • trtVector
  • evaluationVector
  • alphaNumeric
  • groupLogic
  • mainText

References

Practical Nonparametrics Statistics. W.J. Conover, 1999

See Also

kruskal, durbin.test

Examples

Run this code
library(agricolae)
data(grass)
attach(grass)
out<-friedman(judge,trt, evaluation,alpha=0.05, group=TRUE,console=TRUE,
main="Data of the book of Conover")
detach(grass)
#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