Learn R Programming

ecr (version 1.0.1)

dominates: Dominance relation check.

Description

Check if a vector dominates another (dominates) or is dominated by another (isDominated). There are corresponding infix operators dominates and isDominatedBy.

Usage

dominates(x, y)
isDominated(x, y)
x %dominates% y
x %isDominatedBy% y

Arguments

x
[numeric] First vector.
y
[numeric] Second vector.

Value

[logical(1)]