![](../logo.png)
Add Distant Alone Status with Verification
Source:R/emii_add_distant_alone.R
emii_add_distant_alone_with_verification.Rd
This function adds a column indicating whether a patient had distant metastases alone and returns a tibble with the created column and all columns used for verification.
Examples
if (FALSE) { # \dontrun{
data <- tibble(
embrace_id = c("A1", "A2"),
event_systemicfailure = c(TRUE, FALSE),
has_paraaortic_nodes_above_l2 = c(FALSE, TRUE),
event_paraaortic_nodal = c(FALSE, FALSE),
event_localfailure = c(FALSE, FALSE),
event_pelvic_nodal = c(FALSE, FALSE)
)
result <- add_distant_alone_with_verification(data)
result <- add_distant_alone_with_verification(data, save_excel = TRUE)
} # }