plot.cover {parsec} | R Documentation |
Hasse diagram
Description
plot
methods to draw Hasse diagrams, for objects of S3 classes wprof
, incidence
, cover
,
Usage
## S3 method for class 'wprof'
plot(x, shape = c("square", "circle", "equispaced"), noise = FALSE, ...)
## S3 method for class 'incidence'
plot(x, shape = c("square", "circle", "equispaced"), noise = FALSE, ...)
## S3 method for class 'cover'
plot(x, shape = c("square", "circle", "equispaced"), noise = FALSE,
pch = 21, cex = max(nchar(rownames(x))) + 2, bg = "white", ...)
Arguments
x |
an object of S3 class |
shape |
shape of the Hasse diagram. See |
,
noise |
jittering in the shape of the Hasse diagram. See |
pch |
graphical parameter. See |
cex |
graphical parameter. See |
bg |
graphical parameter. See |
... |
further optional graphical parameters. See |
Examples
prf <- var2prof(varlen = c(5, 5, 5))
prf$freq <- sample(c(rep(0, 20), 1, 2, 3), 5*5*5, replace = TRUE)
prf <- obsprof(prf)
z <- getzeta(prf)
plot(z, shape = "equispaced", col = prf$freq, lwd = 2)
[Package parsec version 1.2.7 Index]