Skip to contents

This function creates a new disease event variable and returns a tibble with the created column and all columns used by the function for verification.

Usage

emii_add_nodalcontrol_incl_pao_with_verification(data, save_excel = FALSE)

Arguments

data

A tibble containing EMBRACE-II data

save_excel

Logical indicating whether to save results as Excel file (default: FALSE)

Value

A tibble with the new disease event variable and relevant columns

Examples

if (FALSE) { # \dontrun{
data <- tibble(
  embrace_id = c("A1", "A2"),
  event_pelvic_nodal = c(0L, 1L),
  event_paraaortic_nodal = c(0L, 1L)
)
result <- emii_add_nodalcontrol_incl_pao_with_verification(data)
result <- emii_add_nodalcontrol_incl_pao_with_verification(data, save_excel = TRUE)
} # }