Hi there,

 

I am interested in converting SAS code to R & I wondered if anyone had
any quick R code/tips for the following piece of test SAS code?

 

Any feedback greatly appreciated.

 

data A1;

  set A1;

  count + 1;

  by subject_id;

  if first.subject_id then count = 1;

run;

 

 


	[[alternative HTML version deleted]]


