levels.incidence.cover: Levels of a poset

Description Usage Arguments See Also Examples

Description

The behaviour of these methods for objects of classes incidence and cover is different from the behaviour of function levels for factors. Because of the technical definition it is not possible to use a different name for these methods.

The methods return a vector associating each profile with the corresponding level.

Usage

1
2
3
4
## S3 method for class 'incidence'
levels(x)
## S3 method for class 'cover'
levels(x)

Arguments

x

an object of class cover or incidence.

See Also

the function levels for objects of type factor

Examples

1
2
3
4
5
vl <- c(3, 2, 4)
prof <- var2prof(varlen = vl)
Z <- getzeta(prof)

levels(Z)


parsec documentation built on May 20, 2017, 5:15 a.m.
Search within the parsec package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.