compute_anchor_delta.Rd
Compute the Anchor Change Score
compute_anchor_delta( dat = NULL, subject.id = NULL, time.var = NULL, anchor = NULL )
dat | pass the dataframe |
---|---|
subject.id | variable of the subject ID in the dataframe numeric; default is USUBJID |
time.var | variable of the Time in the dataframe - PLEASE CHECK THAT THIS IS CORRECTLY ORDERED, default is Time |
anchor | numeric anchor variable, default is PGIS |
returns a dataframe with two additional variables, anchor score at baseline and anchor change score