mutate.cnd_df | R Documentation |
mutate.cnd_df()
is an S3 method to be dispatched by mutate
generic on conditioned data frames. This function implements a conditional
mutate by only changing rows for which the condition stored in the
conditioned data frame is TRUE
.
## S3 method for class 'cnd_df'
mutate(
.data,
...,
.by = NULL,
.keep = c("all", "used", "unused", "none"),
.before = NULL,
.after = NULL
)
.data |
A conditioned data frame. |
... |
< The value can be:
|
.by |
Not used when |
.keep |
Control which columns from
|
.before |
Not used, use |
.after |
Control where new columns should appear, i.e. after which columns. |
A conditioned data frame, meaning a tibble with mutated values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.