I'm new to r, and having some difficulties with this simple task. I have dataset of prices within many retailers. I would like to count how many prices changes in other store in the time interval of setting the price and changing it.I'm new to r, and having some difficulties with