plot.average_ranks {parsec} | R Documentation |
Method of function plot
for objects of class average_ranks
Description
From the output of the function average_ranks
, the function plots the average rank and the associated rank interval, for each element of the poset.
Usage
## S3 method for class 'average_ranks'
plot(x,
range.first = TRUE, range.col = "black", range.lty = 1,
range.lwd = 1, type = "p", ylim = c(nrow(x), 1),
xlab = "", ylab = "Average rank", pch = c(16, 3, 3),
col = "black", cex = c(1, 1, 1), ...
)
Arguments
x |
An object of class |
range.first |
A boolean attribute to specify whether the interval is plotted in background ( |
range.col |
Color of the interval. |
range.lty |
The line type to represent the range; the values are the same of the attribute |
range.lwd |
Width of the lines representing the range. |
type |
Attribute of the function |
ylim |
Attribute of function |
xlab |
Attribute of the function |
ylab |
Attribute of the function |
pch |
Attribute of the function |
col |
Attribute of the function |
cex |
Attribute of the function |
... |
Other arguments of the function |
See Also
average_ranks
, plot.default
, matplot
Examples
profiles <- var2prof(varlen = c(3, 2, 4))
Z <- getzeta(profiles)
res <- average_ranks(Z)
plot(res)