Extract/Set Covariates
A generic function for extracting/setting covariates for an object.
covariates(object, ...) covariates(object) <- value
object |
an object. |
... |
arguments passed to methods. |
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))) covariates(pc) covariates(pc) <- data.frame(foo = factor(c(1, 2, 2), labels = c("foo", "bar"))) covariates(pc)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.