Learn R Programming

ecr (version 2.1.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

Value

[logical(1)]

Arguments

x

[numeric]
First vector.

y

[numeric]
Second vector.