library(agricolae)
# example 1
data(corn)
attach(corn)
comparison<-waerden.test(observation,method,group=TRUE)
comparison<-waerden.test(observation,method,group=FALSE)
# example 2
data(sweetpotato)
attach(sweetpotato)
comparison<-waerden.test(yield,virus,alpha=0.01,group=TRUE)
Run the code above in your browser using DataLab