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