View source: R/dataManipulation-filterData.R
filterDataSingle | R Documentation |
Filter data for a single filter
filterDataSingle(
data,
filters,
keepNA = TRUE,
returnAll = FALSE,
labelVars = NULL,
labelData = "data"
)
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 |
Updated data
with attributes:
'labelVars': input labelVars
with any new variables
if labelNew
is specified.
'msg': message describing the filtering process
'warn': warning describing the filtering process
Laure Cougnaud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.