Description Usage Arguments Details
dplyr used to offer twin versions of each verb suffixed with an underscore. These versions had standard evaluation (SE) semantics: rather than taking arguments by code, like NSE verbs, they took arguments by value. Their purpose was to make it possible to program with dplyr. However, dplyr now uses tidy evaluation semantics. NSE verbs still capture their arguments, but you can now unquote parts of these arguments. This offers full programmability with NSE verbs. Thus, the underscored versions are now superfluous.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | tally_(x, wt, sort = FALSE)
count_(x, vars, wt = NULL, sort = FALSE)
add_tally_(x, wt, sort = FALSE)
add_count_(x, vars, wt = NULL, sort = FALSE)
distinct_(.data, ..., .dots, .keep_all = FALSE)
do_(.data, ..., .dots = list())
funs_(dots, args = list(), env = base_env())
group_by_(.data, ..., .dots = list(), add = FALSE)
group_indices_(.data, ..., .dots = list())
filter_(.data, ..., .dots = list(), .preserve = TRUE)
slice_(.data, ..., .dots = list())
summarise_(.data, ..., .dots = list())
summarize_(.data, ..., .dots = list())
mutate_(.data, ..., .dots = list())
transmute_(.data, ..., .dots = list())
arrange_(.data, ..., .dots = list())
select_(.data, ..., .dots = list())
rename_(.data, ..., .dots = list())
select_vars_(vars, args, include = chr(), exclude = chr())
rename_vars_(vars, args)
|
x |
a |
wt |
(Optional) If omitted (and no variable named |
sort |
if |
vars |
Various meanings depending on the verb. |
.data |
A data frame. |
.keep_all |
If |
dots, .dots, ... |
Pair/values of expressions coercible to lazy objects. |
args |
Various meanings depending on the verb. |
env |
The environment in which functions should be evaluated. |
add |
When |
include, exclude |
Character vector of column names to always include/exclude. |
Unquoting triggers immediate evaluation of its operand and inlines
the result within the captured expression. This result can be a
value or an expression to be evaluated later with the rest of the
argument. See vignette("programming")
for more information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.