multi_mutator_ | R Documentation |
Wrapper for running multi-column mutator methods
multi_mutator_(
data,
mutate_fn,
check_fn,
cols = NULL,
suffix = "_mutated",
overwrite = FALSE,
force_df = TRUE,
allowed_types = c("numeric", "factor"),
allow_missing = FALSE,
min_dims = 1,
altered_col = NULL,
keep_original = TRUE,
origin_fn = NULL,
...
)
data |
|
mutate_fn |
Mutator to apply. |
check_fn |
Function with checks post-preparation of |
cols |
Columns to mutate values of. Must be specified when |
suffix |
Suffix to add to the names of the generated columns. Use an empty string (i.e. |
overwrite |
Whether to allow overwriting of existing columns. (Logical) |
force_df |
Whether to return a |
allowed_types |
Allowed types of the |
allow_missing |
Whether to allow missing values ( |
min_dims |
Minimum number of dimensions (cols) after preparations. When |
altered_col |
Additional column that is mutated but is not
mentioned in |
keep_original |
Whether to keep the original columns. (Logical) Some columns may have been overwritten, in which case only the newest versions are returned. |
origin_fn |
Function for finding the origin coordinates. Input: Each column will be passed as a Output: A Can be created with E.g. Built-in functions are |
... |
Named arguments for the |
The mutated data.frame
(tibble
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.