add_filter {cohortBuilder} | R Documentation |
Add filter definition
Description
Add filter definition
Usage
add_filter(x, filter, step_id, ...)
## S3 method for class 'Cohort'
add_filter(x, filter, step_id, run_flow = FALSE, ...)
## S3 method for class 'Source'
add_filter(x, filter, step_id, ...)
Arguments
x |
An object to add filter to. |
filter |
Filter definition created with filter. |
step_id |
Id of the step to add the filter to. If missing, filter is added to the last step. |
... |
Other parameters passed to specific S3 method. |
run_flow |
If 'TRUE', data flow is run after the filter is added. |
Value
Method dependent object (i.e. 'Cohort' or 'Source') having filter added in selected step.
See Also
managing-cohort, managing-source
[Package cohortBuilder version 0.2.0 Index]