Mathematically, all base preferences are strict weak orders (irreflexive, transitive and negative transitive).The three fundamental base preferences are:
[object Object],[object Object]
The term expr
may be just a single attribute or may contain an arbitrary expression, e.g., low(a+2*b+f(c))
.
There a
, b
and c
are columns of the addressed dataset and f
is a previously defined function.
Functions contained in expr
are evaluated over the entire dataset, i.e.,
it is possible to use aggregate functions (min
, mean
, etc.).
Note that all functions (and also variables which are not columns of the dataset, where expr
will be evaluated on)
must be defined in the same environment (e.g. environment of a function or global scope) as the base preference.