Access Data

andrea_brandberandrea_brandber Member Posts: 1 Contributor I
edited November 2018 in Help

Hello,

i have this data:

Index  Open High

1        4         5

2        6         7

3        8        9

Now i want to generate a new Attribute like

          Open[2] - High[1]

In words: I want access data in a Row before, not in the same Row, like Open-High.

 

Is there a Array-Operator so i can access the data before?

 

Tank you verry much!

 

Best Regars,

 

Andrea

 

 

Answers

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,503 RM Data Scientist

    Dear Andrea,

     

    The operator Lag from Time Series extension is able to shift the examples by n. Afterwards youi can go for a Generate Attributes.

     

    ~Martin

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.