Categorize Reason for Discontinuation from Study.

mutate_adsl_gp(
  adam_db,
  reason = .study$disc_reason_var,
  .study = list(disc_reason_var = "DCSREAS")
)

Arguments

adam_db

(dm) object containing the ADaM datasets

reason

(character) the variable name for variable with the reason for discontinuation.

.study

(list) with default values for the arguments of the function