Skip to contents

Creates a binary indicator (1/0) for interstitial component of intracavitary/interstitial (ICIS) brachytherapy based on technique data.

Usage

add_icis(.data)

Arguments

.data

A data frame with embrace_id and fraction technique columns

Value

A data frame with an additional 'icis' column (1 or 0)

Examples

if (FALSE) { # \dontrun{
df <- data.frame(embrace_id = c(1, 2, 3),
                 fraction_1_technique_tdvh = c("0", "1", "0"),
                 fraction_2_technique_tdvh = c("0", "1", "1"))
add_icis(df)
} # }