filterDataSingle {clinDataReview} | R Documentation |
Filter data for a single filter
Description
Filter data for a single filter
Usage
filterDataSingle(
data,
filters,
keepNA = TRUE,
returnAll = FALSE,
labelVars = NULL,
labelData = "data"
)
Arguments
data |
Data.frame with data. |
filters |
Unique filter or list of filters. |
keepNA |
Logical, if TRUE (by default) missing values in |
returnAll |
Logical:
|
labelVars |
Named character vector containing variable labels. |
labelData |
(optional) String with label for input |
Value
Updated data
with attributes:
'labelVars': input
labelVars
with any new variables iflabelNew
is specified.'msg': message describing the filtering process
'warn': warning describing the filtering process
Author(s)
Laure Cougnaud