Function cartesian_2D takes two vectors as input and
returns the two dimensional cartesian product.
Usage
cartesian_2D(array_x, array_y)
Value
A matrix of length(array_x) * length(array_y) rows
and two columns. Each row indicates an ordered pair.
Arguments
array_x
A vector, indicating the first set.
array_y
A vector, indicating the second set.
Comment
cartesian_2D is used internally in other function(s) of ROCit.
Works if matrix/data frames are passed as arguments. However,
returns might not be valid if arguments are not one dimensional.