Default Format for Disposition Status
Source:R/derive_var_disposition_status.R
format_eoxxstt_default.Rd
This function is deprecated. This function is a default for derive_var_disposition_status()
for the format_new_var
argument. Please define your own function and use that as input for the
cat_fun
argument in derive_var_merged_cat()
instead.
Define a function to map the disposition status. To be used as an input for
derive_var_disposition_status()
.
Value
A character
vector derived based on the values given in status
:
"NOT STARTED" if status
is "SCREEN FAILURE" or "SCREENING NOT COMPLETED",
"COMPLETED" if status
is "COMPLETED",
"DISCONTINUED" if status
is not in ("COMPLETED","SCREEN FAILURE",
"SCREENING NOT COMPLETED") nor NA,
"ONGOING" otherwise.
See also
Other deprecated:
derive_var_confirmation_flag()
,
derive_var_disposition_status()
,
derive_var_worst_flag()
,
derive_vars_disposition_reason()
,
format_reason_default()