Skip to contents

Categorizes HRCTV volumes into three bins: <30, 30-45, and >45.

Usage

add_hrctv_volume_bins(df)

Arguments

df

A dataframe containing the 'fraction01hrctv_volume_tdvh' column

Value

A dataframe with an additional 'fraction01hrctv_volume_bins' column (0, 1, or 2)

Examples

if (FALSE) { # \dontrun{
sample_df <- data.frame(fraction01hrctv_volume_tdvh = c(10, 35, 50, 22, 40, NA))
binned_df <- add_hrctv_volume_bins(sample_df)
} # }