The flag_event
object is used to define events as input for the
derive_var_merged_ef_msrc()
function.
Arguments
- dataset_name
Dataset name of the dataset to be used as input for the event. The name refers to the dataset specified for
source_datasets
inderive_var_merged_ef_msrc()
.Permitted Values: a character scalar
- condition
Condition
The condition is evaluated at the dataset referenced by
dataset_name
. For all by groups where it evaluates asTRUE
at least once the new variable is set to the true value (true_value
).- by_vars
Grouping variables
If specified, the dataset is grouped by the specified variables before the condition is evaluated. If named elements are used in
by_vars
likeby_vars = exprs(USUBJID, EXLNKID = ECLNKID)
, the variables are renamed after the evaluation. If theby_vars
element is not specified, the observations are grouped by the variables specified for theby_vars
argument ofderive_var_merged_ef_msrc()
.
See also
Source Objects:
basket_select()
,
censor_source()
,
death_event
,
event()
,
event_joined()
,
event_source()
,
query()
,
records_source()
,
tte_source()