Last chance! 50% off unlimited learning
Sale ends in
When there are treatments and their respective values, these can be compared with a minimal difference of meaning.
orderPvalue(treatment, means, alpha, pvalue, console)
treatment
means of treatment
Alpha value, significante value to comparison
Matrix of probabilities to comparison
logical, print output
Factor
Numeric
matrix
# NOT RUN {
library(agricolae)
treatments <- c("A","B","C")
means<-c(2,5,3)
alpha <- 0.05
pvalue<-matrix(1,nrow=3,ncol=3)
pvalue[1,2]<-pvalue[2,1]<-0.03
pvalue[1,3]<-pvalue[3,1]<-0.10
pvalue[2,3]<-pvalue[3,2]<-0.06
groups<-orderPvalue(treatments,means,alpha,pvalue,console=TRUE)
# }
Run the code above in your browser using DataLab