Description Usage Arguments Value Note Examples
View source: R/helper_functions.R
Table function: remove rows of column with exact match of a specified value
1 | excludeMatch(df, column, value)
|
df |
A data.frame to be filtered |
column |
(str) column to be filtered |
value |
(str) a str to match with the value column, match of the value is removed. |
A data.frame with matched records removed, including empty df if all records matched
only exact match is removed
1 2 3 | column <- "date"
value <- "2014-01-01" # remove records with date 2014-01-01
excludeMatch(df, column, value)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.