Learn R Programming

caRamel (version 1.4)

dominated: Rows domination of a matrix by a vector

Description

indicates which rows of the matrix Y are dominated by the vector (row) x

Usage

dominated(x, Y)

Value

D : vector of booleans

Arguments

x

: row vecteur

Y

: matrix

Author

Alban de Lavenne, Fabrice Zaoui

Examples

Run this code
# Definition of the parameters
Y <- matrix(rexp(200), 100, 2)
x <- Y[1,]
# Call the function
res <- dominated(x, Y)

Run the code above in your browser using DataLab