How can I calculate the difference between two consecutive values in an attribut

blatoo
New Altair Community Member
Hi RapidMiner Team,
I want to calculate the difference between two consecutive values in an attribute, but I do not which operator I can use.
For example: my dataset
I want to calculate the difference between two consecutive speed and generate a new attributes names "difference".
How can I do this?
I want to calculate the difference between two consecutive values in an attribute, but I do not which operator I can use.
For example: my dataset
Tagged:
0
Answers
-
Hello
The "Lag Series" operator is the one to use - this is part of the Series extension so you need to install this additionally.
regards
Andrew0 -
Hi Andrew,
thanks very much!!! It works!!!0