for (Interval interval : intervals) {
Double scalar = calculateScalar(interval, dataProp, function);
_result.addRowValue(j, scalar);
}
// After calculations, ensure the new property domain is numeric.
_prop.setDomain(new NumericDomain());
}
}
// Sort the resulting data set according to the sort order specified.
if (sortOrder != 0) {