Compare Spread of Vectors (Preorder)
This function determines whether one numeric vector has not greater spread than the other
pord_spread(x, y, incompatible_lengths = NA)
x |
numeric vector |
y |
numeric vector of the same length as |
incompatible_lengths |
single logical value,
value to return iff lengths of |
We say that x of size n is of no greater spread than y iff for all i,j=1,…,n such that x_i>x_j it holds x_i-x_j≤ y_i-y_jll . Such a preorder is used in the definition of a spread measure (see Gagolewski, 2015).
The function returns a single logical value,
which states whether x
has no greater
spread than y
Gagolewski M., Spread measures and their relation to aggregation functions, European Journal of Operational Research 241(2), 2015, pp. 469–477.
Gagolewski M., Data Fusion: Theory, Methods, and Applications, Institute of Computer Science, Polish Academy of Sciences, 2015, 290 pp. isbn:978-83-63159-20-7
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.