flag_event {admiral} | R Documentation |
Create a flag_event
Object
Description
The flag_event
object is used to define events as input for the
derive_var_merged_ef_msrc()
function.
Usage
flag_event(dataset_name, condition = NULL, by_vars = NULL)
Arguments
dataset_name |
Dataset name of the dataset to be used as input for the
event. The name refers to the dataset specified for Permitted Values: a character scalar |
condition |
Condition The condition is evaluated at the dataset referenced by |
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 |
See Also
Source Objects:
basket_select()
,
censor_source()
,
death_event
,
event()
,
event_joined()
,
event_source()
,
query()
,
records_source()
,
tte_source()