diff
inline fun <T> DataRow<T>.diff(firstRowResult: Double, expression: RowExpression<T, Double>): Double
Calculates the difference between the results of a row expression computed on the current and previous DataRow.
For more information: See Row Functions on the documentation website.
Return
firstRowValue for the first row; difference between expression computed for current and previous row for the following rows