Learn R Programming

agricolae (version 1.2-6)

order.stat: Grouping the treatments averages in a comparison with a minimum value

Description

When there are treatments and their respective values, these can be compared with a minimal difference of meaning.

Usage

order.stat(treatment, means, minimum,console=TRUE)

Arguments

treatment

treatment

means

means of treatment

minimum

minimum value for the comparison

console

logical, print output

Value

trt

Factor

means

Numeric

minimum

Numeric

See Also

order.group

Examples

Run this code
# NOT RUN {
library(agricolae)
treatments <- c("A","B","C","D","E","F")
means<-c(2,5,3,7,9,5)
minimum.diff <- 2
groups<-order.stat(treatments,means,minimum.diff)

# }

Run the code above in your browser using DataLab