dplyr_extensions | R Documentation |
dplyr
for tm
classThe filter()
function extension subsets tm
that satisfy set conditions.
To be retained, the tm
object must produce a value of TRUE
for all conditions.
Note that when a condition evaluates to NA
, the row will be dropped, unlike
base subsetting with [
.
## S3 method for class 'tm'
filter(.data, ...)
.data |
A data frame, data frame extension (e.g. a tibble), or a lazy data frame (e.g. from dbplyr or dtplyr). See Methods, below, for more details. |
... |
< |
An object of the same type as .data
. The output as the following properties:
tm
objects are a subset of the input, but appear in the same order
Underlying data.frame
columns are not modified
Underlying data.frame
object's attributes are preserved
dplyr::filter()
for examples of generic implementation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.