I appreciate your prompt response. I was using the first method and in fact if was only omiting obs where id='d'; when my goal is to remove all obs with that id; ie delete id 1 all together and ending with id 2 only.
... View more
here is the the structure of my data below: i only need ID 2 since all patients are alive, therefore trying to delete id1: Id sex status 1 2 A 1 2 A 1 2 A 1 2 D 2 1 A 2 1 A 2 1 A
... View more