summary.poset {POSetR}R Documentation

Poset summary

Description

Method of the summary function for objects of class poset.

Usage

## S3 method for class 'poset'
summary(object, ...)

Arguments

object

an object of class poset.

...

further arguments passed to or from other methods.

Value

An S3 object of class summary_poset listing and counting the poset elements, their strict dominances and their incomparabilities.

Examples

dom <- matrix(c(
  "a", "b",
  "c", "b",
  "b", "d"
), ncol = 2, byrow = TRUE)
p <- poset(x = dom)
summary(p)

summary(chain(1:4))
summary(antiChain(LETTERS[1:5]))

[Package POSetR version 1.1.4 Index]