Learn R Programming

POSetR (version 1.1.4)

print.poset: 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 poset
print(x, max = NULL, ...)

Value

nothing

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.

Examples

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

Run the code above in your browser using DataLab