compute_change_score.RdCompute the PRO Change Score
compute_change_score( dat = NULL, subject.id = NULL, time.var = NULL, score = 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 |
| score | numeric PRO score variable, default is Y_comp |
returns a dataframe with two additional variables, PRO score at baseline and PRO change score