Skip to contents

Extracts and cleans EORTC column names by removing time suffixes.

Usage

clean_eortc_names(df, time_suffix)

Arguments

df

The data frame containing the EORTC columns

time_suffix

The suffix indicating the time point (e.g., "_3m")

Value

A vector of cleaned EORTC column names

Examples

if (FALSE) { # \dontrun{
df <- data.frame(eortc_q1_3m = c(1,2,3), eortc_q2_3m = c(3,4,5))
clean_names <- clean_eortc_names(df, "_3m")
} # }