View source: R/compute_change_score.R
compute_change_score | R Documentation |
Compute 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.