my data structure looks like this
hhid | id | year |
100 | 1 | 1 |
100 | . | 1 |
100 | 3 | 1 |
100 | 1 | 2 |
100 | 1 | 2 |
I would like to write a condition whereby I identify the cases for which there is this gap in the spell, as illustrated above by the missing value between 1 and 3. Does someone have an idea?
Thank you!
0 Response to Identify missings in spell
Post a Comment