Learn R Programming

agop (version 0.1-4)

pord_weakdom: Weak Dominance Relation (Preorder)

Description

\(x <= y\) iff \(nx <= ny\) AND for all \(i = 1,...,n\) \(x_{(n-i+1)} <= y_{(m-i+1)}\), where \(nx = length(x)\) and \(ny = length(y)\).

Usage

pord_weakdom(x, y)

Arguments

x

numeric vector

y

numeric vector

Value

single logical value; whether x <= y

Details

This function accepts only vectors with nonnegative elements.

See Also

Other binary_relations: closure_total_fair; closure_transitive; de_transitive; get_equivalence_classes; get_incomparable_pairs; get_independent_sets; is_reflexive; is_total; is_transitive; rel_graph