Skip to contents

Preprocess t_ds function

Usage

preprocess_t_ds(
  df,
  levels = c("Alive: On Treatment", "Alive: In Follow-up", "<Missing>"),
  labels = c("Alive: On Treatment", "Alive: In Follow-up", "<Missing>")
)

Arguments

df

Input dataframe

levels

factor levels

labels

factor labels

Value

dataframe