apply_filter | R Documentation |
Apply a Filter to a Dataset or List of Datasets
apply_filter(data, ...)
## Default S3 method:
apply_filter(data, ...)
## S3 method for class 'data.frame'
apply_filter(data, id, target = deparse(substitute(data)), verbose = TRUE, ...)
## S3 method for class 'list'
apply_filter(data, id, verbose = TRUE, ...)
data |
|
... |
Not used. |
id |
|
target |
|
verbose |
|
A new data.frame
or list
of data.frame
s filtered based upon the condition defined for id
Thomas Neitmann (neitmant
)
adsl <- random.cdisc.data::cadsl
adae <- random.cdisc.data::cadae
datasets <- list(adsl = adsl, adae = adae)
add_filter("REL", "Related AEs", "ADAE", AEREL == "Y", overwrite = TRUE)
apply_filter(adsl, "SE")
apply_filter(adae, "SER_REL")
apply_filter(datasets, "SER_REL_SE")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.