compute_change_score: Compute the PRO Change Score

View source: R/compute_change_score.R

compute_change_scoreR Documentation

Compute the PRO Change Score

Description

Compute the PRO Change Score

Usage

compute_change_score(
  dat = NULL,
  subject.id = NULL,
  time.var = NULL,
  score = NULL
)

Arguments

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

Value

returns a dataframe with two additional variables, PRO score at baseline and PRO change score


CJangelo/COA34 documentation built on June 23, 2022, 12:10 p.m.