Learn R Programming

poseticDataAnalysis (version 1.0.0)

LinearPOSet: Constructing a Linearly Ordered Set.

Description

Constructs a linearly (or completely, or totally) ordered set (V,\(\leq_{lin})\), starting from set \(V\),

Usage

LinearPOSet(elements)

Value

An object of S4 class LinearPOSet (subclass of POSet)

Arguments

elements

A character string vector containing the labels of the elements of \(V\) in ascending order according to \(\leq_{lin}\), i.e. such that elements[h]\( \leq_{lin} \)elements[k]if and only if h \( \leq \) k

Examples

Run this code
elems <- c("a", "b", "c", "d")
linpos <- LinearPOSet(elements = elems)

Run the code above in your browser using DataLab