subset.paircomp | R Documentation |
Selection of subsets of objects to be compared and/or reordering of
objects in "paircomp"
data.
## S3 method for class 'paircomp'
reorder(x, labels, ...)
## S3 method for class 'paircomp'
subset(x, subset, select, ...)
x |
an object of class |
labels , select |
character or integer. Either a vector of
(at least two) elements of |
subset |
currently not implemented. (Should be a specification of subsets of subjects.) |
... |
currently not used. |
The subset
method currently just calls the reorder
method.
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"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.