powered by
"paircomp"
"reorder"(x, labels, ...) "subset"(x, subset, select, ...)
labels(x)
subset
reorder
paircomp
pc <- paircomp(rbind( c(1, 1, 1), # a > b, a > c, b > c c(1, 1, -1), # a > b, a > c, b < c c(1, -1, -1), # a > b, a < c, b < c c(1, 1, 1))) reorder(pc, c("c", "a"))
Run the code above in your browser using DataLab