labels<- | R Documentation |
A generic function for setting labels for an object.
labels(object) <- value
object |
an object. |
value |
an object. |
## method for "paircomp" data
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)))
labels(pc)
labels(pc) <- c("ah", "be", "ce")
pc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.