print.poset: Method for the print function that shows the poset elements...

View source: R/print.poset.R

print.posetR Documentation

Method for the print function that shows the poset elements and comparabilities

Description

print prints the list of poset elements and all of the strict dominances in it.

Usage

## S3 method for class 'poset'
print(x, max = NULL, ...)

Arguments

x

an object of class Rcpp_POSet.

max

a non-null value for max specifies the approximate maximum number of entries to be printed. The default, NULL, uses getOption("max.print"): see that help page for more details.

...

further arguments passed to or from other methods.

Value

nothing

Examples

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

POSetR documentation built on Jan. 17, 2023, 5:18 p.m.